javascript - How do I add confirmation to YesNoCheckboxCellEditor in slickgrid? -


i have checkbox field in slickgrid uses yesnocheckboxcelleditor , wants user confirm change. have tried adding vildator:mymethod no success.

my guess have modify function

this.applyvalue = function (item, state) {                 item[args.column.field] = state;             }; 

in editor. put whatever conditional logic need , apply value if needed.

this.applyvalue = function (item, state) {          var applyvalue = (...<your logic goes here>...);          if (!!applyvalue){                        item[args.column.field] = state;          } }; 

Comments

Popular posts from this blog

php - How to build a web site which gives a sub-domain dynamically to every registered user? -

Delphi Wmi Query on a Remote Machine -