-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
When using onChange like described in README.md:
onChange: function(element) {
$(element).closest('td').css('background-color', element.checked ? '#73B355' : '#FFFACD');
}
The function is only triggered after dragging, not on click. It would be good to allow to also trigger onChange if the user only clicked one checkbox to allow a consistent callback. I tried to use clickToToggle: true for normal checkboxes but that just killed the check functionality at all on click (checkboxes are no more being checked).
I think this is expected behaviour in most cases. In the example above the table cells are only highlighted if they were dragged, but not if they were clicked, which is the same in result.
Metadata
Metadata
Assignees
Labels
No labels