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.
Unfortunately, activation email could not send to your email. Please try again.

How to loop through all the records in GG control?

Thread ID:

Created:

Updated:

Platform:

Replies:

61890 Jun 4,2007 01:12 PM Jul 3,2007 07:43 AM ASP.NET Web Forms (Classic) 4
loading
Tags: Grouping
BM
Asked On June 4, 2007 01:12 PM

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?

BM
Replied On June 4, 2007 01:14 PM

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

Valli [Syncfusion]
Replied On June 5, 2007 04:50 AM

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

Yarius Yacinus
Replied On July 2, 2007 11:40 AM

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

Valli [Syncfusion]
Replied On July 3, 2007 07:43 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;