Does anyone know how to clear the selected row when you click out of the grid. I have two small grids, when I click a row to edit on one and then click on the other grid to edit or do something else on the page, I don't want the first grid to continue showing a selected row.
Hello Dbishop9,
Thank you for posting in our community. You can handle client side click event of the girds and to clear the selected rows from the other grid with javascript. Here you can refer to this sample code
var grid = $find('<%= this.WebDataGrid1.ClientID%>'); grid.get_behaviors().get_selection().__clearAll();
var grid = $find('<%= this.WebDataGrid1.ClientID%>');
grid.get_behaviors().get_selection().__clearAll();
I hope this helps.
For any further questions do not hesitate to contact me.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
thanks Georgi. can you give me an example of how to implement this?
Here is the sample. Review it and let me know if you have any further questions.
Looking forward to hear from you
Awesome, that worked. Thanks!