Hi!
Sorry but I don't quite understand how this one works..
beforeEditCell: function(id,name,val,iRow,iCol){
What I want to do is
1. Someone wants to edit a cell, and either clicks on it, uses enter or whatever
2. Before they get to edit the value, I want to change it using some logic (let's say it's a suggestion or something).
3. After they have decided what to save, I want to store that in the cell using afterSubmitCell or whatever, perhaps changing the value yet another time.
I've tried various approaches but it doesn't work :/ Am I able to control the editing this way?
I've tried return {val:'test'}; and such things like the other events use..
Btw everything is written locally to grid, no server involved here..
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top