Solved

Infragistics UltraWebGrid - Loop through rows client side when grouped

Posted on 2011-09-15
4
2,766 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
 
LVL 16

Expert Comment

by:Easwaran Paramasivam
Comment Utility
0
 

Author Comment

by:ChrisMDrew
Comment Utility
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
Comment Utility
Resolved - check for any column being grouped and if so loop through the row.rows propertyrather than rows.
0
 

Author Closing Comment

by:ChrisMDrew
Comment Utility
reolved via Infragistics forums eventually!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

728 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now