return {
"xtype": "Grid",
- '.builderCfg' : cfg,
+ '.builderCfg' : Roo.encode(cfg),
"autoExpandColumn": cfg.cols_ex[0],
"loadMask": true,
"listeners": {
"xtype": "Store",
"|xns": "Roo.data",
- '.builderCfg' : cfg,
+ '.builderCfg' : Roo.encode(cfg),
remoteSort : true,
'|sortInfo' : "{ field : '" + cfg.cols_ex[0] + "', direction: 'ASC' }",
"items": [
xtype : "JsonReader",
totalProperty : "total",
root : "data",
- '.builderCfg' : cfg,
+ '.builderCfg' : Roo.encode(cfg),
'*prop' : "reader",
id : 'id', // maybe no..