I have a grid with a CheckBoxColumn and RowEditor plugin that is configured with clicksToEdit: 1
How can I prevent the RowEditor to open when the CheckBoxColumn is clicked? Cause I am not able to select more than one row at a time.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
RowEditor have the ‘beforeedit’ event. The second parameter of this event is a edit event object – e.
Edit event object have a property ‘cancel’ – set it to true to cancel the edit or return false from your handler.
So, we can just set it in ‘true’ or ‘false’ to disable or enable the RowEditor:
Please, see live example on jsfiddle: http://jsfiddle.net/p7Vzu/