Not allow edit data on multiselect

Not allow edit data on multiselect

vartavarta Posts: 2Questions: 4Answers: 0

I need to edit data only if only one row is select but I want to allow delete data on multiselect
How can I manage this? THe only solution I found is to disable edit button with table.on("select",function()) event or counting the number of selected rows on valid.
Is another easyier way?

Thanks

This discussion has been closed.