when i select a row in grid. it fire change event, but I re-select the same row. the change event fire too. how can i prevent the change event when i select the same row?
1 Answer, 1 is accepted
0
Nikolay
Telerik team
answered on 01 Apr 2020, 09:13 AM
Hi Vincent,
By design, the Change event fires every time when a table row/cell in the grid is selected including the already selected row/cell. However, in the Change event handler, the currently selected row can be conditionally checked if is equal to the last selection using a global variable. For more information please refer to the following forum thread discussing this topic:
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.