Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Infragistics UltraWebGrid - Loop through rows client side when grouped

Posted on 2011-09-15
4
Medium Priority
?
2,941 Views
Last Modified: 2012-05-12
I have an UltraWebGrid with the first column set to be a check box.  I now need to get a list of all of the rows which have been checked again client side.  My code has started as L-

var  grid = igtbl_getGridById('<%= jobsGrid.ClientID %>');
var  rId = 0;
var jobs = "";
var row = grid.Rows.getRow(rId++);
while  (row) {
oCell = row.getCellFromKey("ijob_id");
if (oCell.getValue() == 1)
{
  if (jobs != "")
    jobs = jobs + "," + oCell.getValue("ijob_id");
  else
    jobs = oCell.getValue("ijob_id");
}

Works OK so long as the grid is not grouped but bombs if it is.  How can I do this while handling grouping?
0
Comment
Question by:ChrisMDrew
  • 3
4 Comments
 

Author Comment

by:ChrisMDrew
ID: 36547738
Yes - unfortunately these all relate to the generic gridview - the Infragistics is a bit different with their own CSM.  I can find examples of looping through the rows as above however the control supports a 'grouping' which complicates matters.
0
 

Accepted Solution

by:
ChrisMDrew earned 0 total points
ID: 36576855
Resolved - check for any column being grouped and if so loop through the row.rows propertyrather than rows.
0
 

Author Closing Comment

by:ChrisMDrew
ID: 36597814
reolved via Infragistics forums eventually!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question