ExtJS - PivotGrid
来源:互联网 发布:上海找工作知乎 编辑:程序博客网 时间:2024/06/14 23:11
var store = new Ext.data.Store({
url: '',
//autoLoad: true,
reader: new Ext.data.JsonReader({
root: ''
}, Ext.data.Record.create([
{name: 'id', mapping: 'id'},
{name: 'col1', mapping: 'col1'},
{name: 'col2', mapping: 'col2'},
{name: 'col3', mapping: 'col3'},
{name: 'col4', mapping: 'col4'},
{name: 'col5', mapping: 'col5'}
]))}
);
//Grid Panel
var grid = new Ext.grid.PivotGrid({
title: 'TITLE',
renderTo: 'div1',
columnLines: true,
stripeRows : true,
loadMask : {msg : 'Loading...'},
autoWidth: true,
aggregator: 'sum',
measure: 'col5',
viewConfig: { title: 'Product ID'},
store: srp.wo.gridStore,
leftAxis: [
{dataIndex: 'col1', width: 25},
{dataIndex: 'col2', width: 35}
],
topAxis: [
{dataIndex: 'col3'},
{dataIndex: 'col4'}
]
});
url: '',
//autoLoad: true,
reader: new Ext.data.JsonReader({
root: ''
}, Ext.data.Record.create([
{name: 'id', mapping: 'id'},
{name: 'col1', mapping: 'col1'},
{name: 'col2', mapping: 'col2'},
{name: 'col3', mapping: 'col3'},
{name: 'col4', mapping: 'col4'},
{name: 'col5', mapping: 'col5'}
]))}
);
//Grid Panel
var grid = new Ext.grid.PivotGrid({
title: 'TITLE',
renderTo: 'div1',
columnLines: true,
stripeRows : true,
loadMask : {msg : 'Loading...'},
autoWidth: true,
aggregator: 'sum',
measure: 'col5',
viewConfig: { title: 'Product ID'},
store: srp.wo.gridStore,
leftAxis: [
{dataIndex: 'col1', width: 25},
{dataIndex: 'col2', width: 35}
],
topAxis: [
{dataIndex: 'col3'},
{dataIndex: 'col4'}
]
});
- ExtJS - PivotGrid
- DevExpress的PivotGrid性能问题
- easyui pivotgrid统计,数据加载
- DBGridEh用法总结二(PivotGrid的使用)
- DBGridEh用法总结三(PivotGrid的汉化)
- ExtJS
- extJs
- ExtJs
- extjs
- ExtJS
- ExtJS
- Extjs
- ExtJs
- extjs
- Extjs
- Extjs
- Extjs
- extjs
- JQuery - chexbox click event
- iphone-common-codes-ccteam源代码 CCUIActivityIndicatorView.h
- iphone-common-codes-ccteam源代码 CCUIActivityIndicatorView.m
- JQuery - Hyperlink Filter
- iphone-common-codes-ccteam源代码 CCUIAlertActivityView.h
- ExtJS - PivotGrid
- iphone-common-codes-ccteam源代码 CCUIAlertActivityView.m
- 基于安霸方案的标清SD视频采集H.264编码设备
- iphone-common-codes-ccteam源代码 CCUIAlertTextView.h
- POI 生成 Excel条件格式的问题
- iphone-common-codes-ccteam源代码 CCUIAlertTextView.m
- iphone-common-codes-ccteam源代码 CCUIAlertView.h
- iphone-common-codes-ccteam源代码 CCUIAlertView.m
- NetBeans 启动失败,提示“JVM creation failed”的解决办法