ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: stoodin on October 09, 2014, 07:20:29 pm
-
I have a scenario:
1. All columns but one are not editable. One column is hidden and editable.
2. One columns is 'checkBoxSelection' type with selectionModel: {type: 'none', subtype:'incr', cbHeader:false, cbAll:true}
3. On row select I check the value of rowData['pq_rowselect'] and try to update the hidden field. All good by this point and I see the value has been updated in the devug
4. Now I try to (.selector).pqGrid("getChanges", { format: "byVal" }) and get NOTHING. I was trying to move the hidden cell to the Edit state then save, but it doesn't help
If I create a new field that is editable and not hidden everything works, but I need it to be hidden.
Could you advice me what to do?
Thank you
-
hidden Non editable fields can be updated while call to updateRow by passing checkEditable as false.
http://paramquery.com/pro/api#method-updateRow
-
Excellent!!!
Works now.