我的读者:
var reader = new Ext.data.JsonReader({
totalProperty: 'total',
successProperty: 'success',
idProperty: 'id_k',
root: 'rows',
messageProperty: 'message' // <-- New "messageProperty" meta-data }, [
{name: 'id_k'}, {name: 'nm_kb', allowBlank: false},
{name: 'id_p'}, {name: 'nm_p', allowBlank: false} ]);
我的专栏:
{header: "Provinsi", width: 100, sortable: true, dataIndex: 'id_p'}
如何使 dataIndex: 'id_p' 显示为 'nm_p' 但仍然 dataIndex: 'id_p'?
我希望它显示“nm_p”....
谢谢...