"modOrder" : "001",
"strings" : {
"1f9ff97aa2f49a79388004e1e57f2320" : "New Orders ",
+ "fc0d5184491559c092364744b2247373" : "first tab",
"8ee3680bb9afd0b79474a88f7d999dd2" : "This is a random string ",
+ "b73ce398c39f506af761d2277d853a92" : "160",
+ "7ef605fc8dba5425d6965fbd4c8fbe1f" : "150",
+ "70ce2e7a27cab2a670ca954f8362e19f" : "tab 2 content",
+ "f3ff0ceca73743a13990e970c318fc36" : "<span class=\"glyphicon glyphicon-chevron-left\"></span>",
+ "34ae6773410925b4574e656be194f0ad" : "income",
+ "e864378363f435160e7c2209cc2949b7" : "<span class=\"glyphicon glyphicon-chevron-right\"></span>",
+ "1d17cb9923b99f823da9f5a16dc460e5" : "Department",
+ "222a267cc5778206b253be35ee3ddab5" : "Current",
"c4f5a294a273c3a1c97642a76f15c5c7" : "tab 1",
+ "2d0175894e0fe09186d38fe7a7160294" : "second tab",
"9fc10133312e352754f8ca264a3e272d" : "New Orders",
"9a7b64c98b066602b21f869ae7cd673a" : "test 1",
- "58a00f6a3da23fc3821f24115493b750" : "tab 2"
+ "58a00f6a3da23fc3821f24115493b750" : "tab 2",
+ "ee757173a29e79be9a36728a1c28345c" : "Dashboard <small> Example Control panel </small> ",
+ "3c8d74bd7be3168fe440d9c85da42be8" : "<b> Alert </b> test alert",
+ "d80590035c13589acfbdd2b2dcb60773" : "Aspire"
},
"items" : [
{
"items" : [
{
"String cls" : "header",
- "tag" : "header",
"xtype" : "Container",
+ "tag" : "header",
"* xinclude" : "Dashboard.Header1",
"$ xns" : "Roo.bootstrap"
},
{
"xtype" : "Header",
"$ xns" : "Roo.bootstrap",
- "String html" : "Dashboard <small> Example Control panel </small> "
+ "String html" : "Dashboard <small> Example Control panel </small> "
}
]
},
"items" : [
{
"Number md" : 3,
- "xtype" : "Column",
"Number lg" : 3,
+ "xtype" : "Column",
"$ xns" : "Roo.bootstrap",
"items" : [
{
},
{
"Number md" : 3,
- "xtype" : "Column",
"Number lg" : 3,
+ "xtype" : "Column",
"$ xns" : "Roo.bootstrap",
"items" : [
{
},
{
"Number md" : 3,
- "xtype" : "Column",
"Number lg" : 3,
+ "xtype" : "Column",
"$ xns" : "Roo.bootstrap",
"items" : [
{
},
{
"Number md" : 3,
- "Number lg" : 3,
"xtype" : "Column",
+ "Number lg" : 3,
"$ xns" : "Roo.bootstrap",
"items" : [
{
"items" : [
{
"Number md" : 6,
- "xtype" : "Column",
"Number lg" : 6,
+ "xtype" : "Column",
"$ xns" : "Roo.bootstrap",
"String style" : "",
"Number sm" : 12,
"items" : [
{
"listeners" : {
- "cellclick" : "function (_self, el, rowIndex, columnIndex, e)\n{\n \n\n var cm = this.colModel.getColumnById(this.colModel.getColumnId(columnIndex));\n if (cm.dataIndex == 'current') {\n var rec = _this.listTable.ds.getAt(rowIndex);\n \n rec.set('current', rec.data.current * 1 ? '0' : '1');\n\n //_this.listTable.ds.fireEvent(\"datachanged\", this);\n rec.commit();\n return;\n }\n if (cm.dataIndex == 'aspire') {\n var rec = _this.listTable.ds.getAt(rowIndex);\n \n rec.set('aspire', rec.data.aspire * 1 ? '0' : '1');\n\n //_this.listTable.ds.fireEvent(\"datachanged\", this);\n rec.commit();\n return;\n }\n\n \n}",
- "|render" : "function (_self)\n{\n _this.listTable = _self;\n (function() { _self.store.load({}); }).defer(100)\n}"
+ "|render" : "function (_self)\n{\n _this.listTable = _self;\n (function() { _self.store.load({}); }).defer(100)\n}",
+ "cellclick" : "function (_self, el, rowIndex, columnIndex, e)\n{\n \n\n var cm = this.colModel.getColumnById(this.colModel.getColumnId(columnIndex));\n if (cm.dataIndex == 'current') {\n var rec = _this.listTable.ds.getAt(rowIndex);\n \n rec.set('current', rec.data.current * 1 ? '0' : '1');\n\n //_this.listTable.ds.fireEvent(\"datachanged\", this);\n rec.commit();\n return;\n }\n if (cm.dataIndex == 'aspire') {\n var rec = _this.listTable.ds.getAt(rowIndex);\n \n rec.set('aspire', rec.data.aspire * 1 ? '0' : '1');\n\n //_this.listTable.ds.fireEvent(\"datachanged\", this);\n rec.commit();\n return;\n }\n\n \n}"
},
"xtype" : "Table",
"Boolean CellSelection" : true,
"Boolean RowSelection" : true,
"items" : [
{
+ "$ Array data" : "[\n [ 'A TEST', '1', '0' ],\n \n [ 'B test', '1', '0' ],\n [ 'C test', '1', '0' ],\n [ 'D test', '1', '0' ]\n]",
"boolean isLocal" : true,
"$ Array fields" : "[ 'display_name', 'current', 'aspire' ]",
- "$ Array data" : "[\n [ 'A TEST', '1', '0' ],\n \n [ 'B test', '1', '0' ],\n [ 'C test', '1', '0' ],\n [ 'D test', '1', '0' ]\n]",
"xtype" : "SimpleStore",
"$ xns" : "Roo.data",
"* prop" : "store"
},
{
"Number md" : 6,
- "Number lg" : 6,
"xtype" : "Column",
+ "Number lg" : 6,
"$ xns" : "Roo.bootstrap",
"String style" : "",
"Number sm" : 12,
"items" : [
{
"xtype" : "Header",
- "$ xns" : "Roo.bootstrap",
"Number level" : 3,
+ "$ xns" : "Roo.bootstrap",
"String html" : "first tab"
},
{
"items" : [
{
"xtype" : "Header",
- "Number level" : 3,
"$ xns" : "Roo.bootstrap",
+ "Number level" : 3,
"String html" : "second tab"
},
{
strings : {
'1f9ff97aa2f49a79388004e1e57f2320' :"New Orders ",
+ 'fc0d5184491559c092364744b2247373' :"first tab",
'8ee3680bb9afd0b79474a88f7d999dd2' :"This is a random string ",
+ 'b73ce398c39f506af761d2277d853a92' :"160",
+ '7ef605fc8dba5425d6965fbd4c8fbe1f' :"150",
+ '70ce2e7a27cab2a670ca954f8362e19f' :"tab 2 content",
+ 'f3ff0ceca73743a13990e970c318fc36' :"<span class=\"glyphicon glyphicon-chevron-left\"></span>",
+ '34ae6773410925b4574e656be194f0ad' :"income",
+ 'e864378363f435160e7c2209cc2949b7' :"<span class=\"glyphicon glyphicon-chevron-right\"></span>",
+ '1d17cb9923b99f823da9f5a16dc460e5' :"Department",
+ '222a267cc5778206b253be35ee3ddab5' :"Current",
'c4f5a294a273c3a1c97642a76f15c5c7' :"tab 1",
+ '2d0175894e0fe09186d38fe7a7160294' :"second tab",
'9fc10133312e352754f8ca264a3e272d' :"New Orders",
'9a7b64c98b066602b21f869ae7cd673a' :"test 1",
- '58a00f6a3da23fc3821f24115493b750' :"tab 2"
+ '58a00f6a3da23fc3821f24115493b750' :"tab 2",
+ 'ee757173a29e79be9a36728a1c28345c' :"Dashboard <small> Example Control panel </small> ",
+ '3c8d74bd7be3168fe440d9c85da42be8' :"<b> Alert </b> test alert",
+ 'd80590035c13589acfbdd2b2dcb60773' :"Aspire"
},
part : ["bootstrap", "dashboard3" ],
Roo.apply(Dashboard.Header1._tree(), {
'|xns' : 'Roo.bootstrap',
cls : 'header',
- tag : 'header',
xtype : 'Container',
+ tag : 'header',
xns : Roo.bootstrap
}),
{
'|xns' : 'Roo.bootstrap',
xtype : 'Header',
xns : Roo.bootstrap,
- html : 'Dashboard <small> Example Control panel </small> '
+ html : "Dashboard <small> Example Control panel </small> "
}
]
{
'|xns' : 'Roo.bootstrap',
md : 3,
- xtype : 'Column',
lg : 3,
+ xtype : 'Column',
xns : Roo.bootstrap,
items : [
{
{
'|xns' : 'Roo.bootstrap',
md : 3,
- xtype : 'Column',
lg : 3,
+ xtype : 'Column',
xns : Roo.bootstrap,
items : [
{
{
'|xns' : 'Roo.bootstrap',
md : 3,
- xtype : 'Column',
lg : 3,
+ xtype : 'Column',
xns : Roo.bootstrap,
items : [
{
{
'|xns' : 'Roo.bootstrap',
md : 3,
- lg : 3,
xtype : 'Column',
+ lg : 3,
xns : Roo.bootstrap,
items : [
{
fa : 'ban',
xtype : 'Container',
xns : Roo.bootstrap,
- html : '<b> Alert </b> test alert'
+ html : "<b> Alert </b> test alert"
}
]
{
'|xns' : 'Roo.bootstrap',
md : 6,
- xtype : 'Column',
lg : 6,
+ xtype : 'Column',
xns : Roo.bootstrap,
style : '',
sm : 12,
{
store : {
'|xns' : 'Roo.data',
- isLocal : true,
- fields : [ 'display_name', 'current', 'aspire' ],
data : [
[ 'A TEST', '1', '0' ],
[ 'C test', '1', '0' ],
[ 'D test', '1', '0' ]
],
+ isLocal : true,
+ fields : [ 'display_name', 'current', 'aspire' ],
xtype : 'SimpleStore',
xns : Roo.data
},
cm : [
{
'|xns' : 'Roo.grid',
- header : 'Department',
+ header : "Department",
dataIndex : 'display_name',
xtype : 'ColumnModel',
xns : Roo.grid
},
{
'|xns' : 'Roo.grid',
- header : 'Current',
+ header : "Current",
dataIndex : 'current',
xtype : 'ColumnModel',
xns : Roo.grid,
},
{
'|xns' : 'Roo.grid',
- header : 'Aspire',
+ header : "Aspire",
dataIndex : 'aspire',
xtype : 'ColumnModel',
xns : Roo.grid,
}
],
listeners : {
+ render : function (_self)
+ {
+ _this.listTable = _self;
+ (function() { _self.store.load({}); }).defer(100)
+ },
cellclick : function (_self, el, rowIndex, columnIndex, e)
{
}
- },
- render : function (_self)
- {
- _this.listTable = _self;
- (function() { _self.store.load({}); }).defer(100)
}
},
items : [
'|xns' : 'Roo.bootstrap',
xtype : 'Column',
xns : Roo.bootstrap,
- html : 'tab 2 content'
+ html : "tab 2 content"
}
]
{
'|xns' : 'Roo.bootstrap',
md : 6,
- lg : 6,
xtype : 'Column',
+ lg : 6,
xns : Roo.bootstrap,
style : '',
sm : 12,
'|xns' : 'Roo.bootstrap',
xtype : 'Header',
xns : Roo.bootstrap,
- html : 'income',
+ html : "income",
style : 'margin: 10,10,0,0'
}
]
{
'|xns' : 'Roo.bootstrap',
xtype : 'Header',
- xns : Roo.bootstrap,
level : 3,
- html : 'first tab'
+ xns : Roo.bootstrap,
+ html : "first tab"
},
{
'|xns' : 'Roo.bootstrap',
{
'|xns' : 'Roo.bootstrap',
xtype : 'Header',
- level : 3,
xns : Roo.bootstrap,
- html : 'second tab'
+ level : 3,
+ html : "second tab"
},
{
'|xns' : 'Roo.bootstrap',
preventDefault : true,
xtype : 'Link',
xns : Roo.bootstrap,
- html : '<span class=\"glyphicon glyphicon-chevron-left\"></span>',
+ html : "<span class=\"glyphicon glyphicon-chevron-left\"></span>",
listeners : {
click : function (e)
{
preventDefault : true,
xtype : 'Link',
xns : Roo.bootstrap,
- html : '<span class=\"glyphicon glyphicon-chevron-right\"></span>',
+ html : "<span class=\"glyphicon glyphicon-chevron-right\"></span>",
listeners : {
click : function (e)
{