This question is locked. New answers and comments are not allowed.
Hi,
I have a RadGridView with a GridViewSelectColumn. The objects that are bound to this gridview have a member called 'Status'. Now, if the status is a certain value i.e. 'Complete', I do'nt want the users to be able to select that particular row. I have tried to do "e.Row.IsEnabled = False;" in the RowLoaded event of the gridview, by checking the the value of 'Status' in that particular row. This prevents the users from selecting that row explicitly. However when users use the checkbox in the header row of the GridViewSelectColumn, thus performing a 'select all', the disabled rows also get selected. How do I prevent that?
Thanks in advance.
I have a RadGridView with a GridViewSelectColumn. The objects that are bound to this gridview have a member called 'Status'. Now, if the status is a certain value i.e. 'Complete', I do'nt want the users to be able to select that particular row. I have tried to do "e.Row.IsEnabled = False;" in the RowLoaded event of the gridview, by checking the the value of 'Status' in that particular row. This prevents the users from selecting that row explicitly. However when users use the checkbox in the header row of the GridViewSelectColumn, thus performing a 'select all', the disabled rows also get selected. How do I prevent that?
Thanks in advance.