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

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -