Posted 12 June 2022, 8:29 pm EST
Hi Team,
I have wijmo grid and I want to get the selected row on click and if I am selecting same row again should deselect.
In this case I can select 1 or many rows at a time.
Thanks,
Bhagwati Pal
Forums Home / ComponentOne / General Discussion
Posted by: bhagwati.pal on 12 June 2022, 8:29 pm EST
Posted 12 June 2022, 8:29 pm EST
Hi Team,
I have wijmo grid and I want to get the selected row on click and if I am selecting same row again should deselect.
In this case I can select 1 or many rows at a time.
Thanks,
Bhagwati Pal
Posted 12 June 2022, 11:42 pm EST
Hi,
For this, we need to handle the mousedown event and select/deselect the target row on click.
Please refer to the following demo sample for reference:
https://jscodemine.grapecity.com/share/EdZpMeqjsUWbv_aMuc1y8w/
PS: Please report Wijmo related query on Wijmo forum in future.
https://www.grapecity.com/forums/wijmo
Regards,
Manish Gupta
Posted 13 June 2022, 10:39 pm EST
Hi Manish,
Thanks for your reply I don’t want on load first row selected, also I am using angular for development.
Thanks,
Bhagwati Pal
Posted 21 June 2022, 4:20 pm EST
Hi Manish,
Any update?
Thanks,
Bhagwati Pal
Posted 21 June 2022, 10:18 pm EST
Thank you for your response.
Posted 21 June 2022, 11:10 pm EST
Hi Bhagwati,
Please refer to the updated sample as per your requirement.
https://jscodemine.grapecity.com/share/EdZpMeqjsUWbv_aMuc1y8w/
Regards,
Manish Gupta