Good day, I have a grid with a boolean column:
var grid = Ext.create('Ext.grid.Panel', { ... columns: [{ dataIndex: 'visibleForUser', text: 'Visible', editor: { xtype: 'checkboxfield', inputValue: 1 // <-- this option has no effect } }, ...
The mesh grid is removed through the JSON proxy. When I save or update a string, the resulting JSON looks like this:
{... visibleForUser: false, ... }
As you can see, ExtJS serializes the flag value as true or false JSON. I need to configure this and serialize, say 1 and 0 , any suggestion how to do this? Thanks.
source share