We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to loop through all the records in GG control?

I want to iterate through a Grid Grouping Web control and get the values in a column. Please note I don't care about the selected row or any user selections. I want to simply loop through all the records of the GG control and obtain column values from all records. Can you please provide the code to do this?

4 Replies

BM BM June 4, 2007 05:14 PM UTC

I am using ASP 2.0 and Visual Studio 2005. And Syncfusion is 4.4.0.51 Thanks..


VA Valli Syncfusion Team June 5, 2007 08:50 AM UTC

Hi,

Thank you for your information.

The below attached sample helps you to loop through all the records of the Grid Grouping Control and get the 'First Name' of the employee.

http://websamples.syncfusion.com/samples/Grid.Web/4.4.0.51/Incident-34577/main.htm

Please let us know if it satisfies your requirement.

Regards,
Valli


YY Yarius Yacinus July 2, 2007 03:40 PM UTC

I have a some problem I want to loop through the GG and get the value of each cell,how I can do that because in the link you had posted I didnn't find the answer for this issue
Thank you in Advance

>Hi,

Thank you for your information.

The below attached sample helps you to loop through all the records of the Grid Grouping Control and get the 'First Name' of the employee.

http://websamples.syncfusion.com/samples/Grid.Web/4.4.0.51/Incident-34577/main.htm

Please let us know if it satisfies your requirement.

Regards,
Valli


VA Valli Syncfusion Team July 3, 2007 11:43 AM UTC

Hi Yacinus,

Thank you for choosing Syncfusion products.

Attached is the sample which helps you to loop through the GridGrouping control and get the value of each cell. The value for the each cell can be obtained by using the 'OnQueryCellStyleInfo' event which gets triggered before each cell is rendered.

http://websamples.syncfusion.com/samples/Grid.Web/5.1.0.51/Forum-61890/main.htm

Please try running the sample and let us know if this helps you.

Regards,
Valli

Loader.
Live Chat Icon For mobile
Up arrow icon