Apr 2, 2005 #1 M mrdance Newcomer Joined Nov 24, 2003 Messages 16 How can I loop through the rows in a datagrid ( I want to deselect the rows )? Is it easy to get the underlying row from a datarow in a datatable to the row in the datagrid? thanks / Henrik
How can I loop through the rows in a datagrid ( I want to deselect the rows )? Is it easy to get the underlying row from a datarow in a datatable to the row in the datagrid? thanks / Henrik
Apr 2, 2005 #2 A AlexCode Senior Contributor Joined Jul 7, 2003 Messages 931 Location Portugal Take a look at question 5.4 on the Syncfusion DataGrid FAQ at: http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q1096q Use the same thing but, with the Unselect method... On the same FAQ, search for: 5.63 How do I iterate through all the rows and columns in my datagrid? 5.78 How do I retrieve the current row from a DataTable bound to a DataGrid after the grid has been sorted? Bookmark this page... as DataGrid being as bad as it can be, it's good to have this on hand... Alex Last edited: Apr 2, 2005
Take a look at question 5.4 on the Syncfusion DataGrid FAQ at: http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q1096q Use the same thing but, with the Unselect method... On the same FAQ, search for: 5.63 How do I iterate through all the rows and columns in my datagrid? 5.78 How do I retrieve the current row from a DataTable bound to a DataGrid after the grid has been sorted? Bookmark this page... as DataGrid being as bad as it can be, it's good to have this on hand... Alex