Hi AC,
Thanks for contacting Syncfusion support.
Query 1 : is there a possibility to prevent row deselecting (on selected row click) in Grid component?
We have considered “Support for toggle option for Selected Row” as a feature improvement and logged a report for the same. This will be available in any of our upcoming release and it can be tracked through our Features Management System:
Query 2 : when I select another row, triggers method onDeselect and then onSelect. In this case I do not need to trigger onDeselect.
When a row is selected the selection applied in the previous selected row will be removed,. This is the default behavior. When a new row is selected this will initially deselect the previously selected row and then selects the currently selecting row. This is why rowDeselected and rowSelected events are triggered when you select another row.
Please get back to us if you need further assistance.
Regards,
Renjith Singh Rajendran.