Hello. I'm trying to affect the edited data to multiply it, so if user writes 10, at the grid should have been saved 10000.
From documentation:
applies only to a cell that is editable; this event fires before validation of values if any. This event can return the new value which value can replace the edited one
beforeSaveCell : function(rowid,celname,value,iRow,iCol) {
if( some_condition )
{ return “new value”; }
}
The value will be replaced with “new value”
What am I missing? here is my code. Thanks in advance. I'm using 3.7.2
var myGrid = $("#myHtmlTag").jqGrid({
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top