I want to show all items in the grid but some for wich I set enabled property to false on the server I don't want to be selectable.
Does anybody jnows is there a way to get this property on the client in RowSelecting event handler?
Thanks,
Grisha
1 Answer, 1 is accepted
0
Yavor
Telerik team
answered on 23 Jan 2008, 11:21 AM
Hi Grisha,
You can conditionally cancel the selecting event. On the other hand, the enabled property is only meaningful under IE, since it is not properly applied under FF. However, you can take the following approach. First, you can assign a css class on some of the rows, according to your logic, which resembles a disabled row. On in the rowselecting event, you can cancel the event if the css class is the same.
This is demonstrated in the code snippet below: