How I can loop through all row of my grid and detect only row with checkbox column checked ?
1 Answer, 1 is accepted
0
Hristo
Telerik team
answered on 10 Dec 2014, 05:15 PM
Hello Hans,
Thank you for contacting us.
You can iterate the ChildRows collection of your grid and access each row as a GridViewRowInfo object. Then you only have to check for the value of your checkbox column. The code snippet below should help:
IList<GridViewRowInfo> gridRows = new List<GridViewRowInfo>();
foreach (GridViewRowInfo rowInfo in radGridView.ChildRows)
Should you have further questions please do not hesitate to contact us.
Regards,
Hristo
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.