PDA

View Full Version : About Demo <Extjs Grid From Markup>



suliangben
28 Jun 2010, 10:01 PM
i want to sort by "AGE" in <Extjs Grid From Markup>

for example:
AGE:100
AGE:50
AGE:600


Why always sort by "STRING", i want to sort by "Float",how do???????

please tell me ? THX

Condor
28 Jun 2010, 11:06 PM
var grid = new Ext.ux.grid.TableGrid("the-table", {
fields: [
{},
{type: 'int'}
{}
],
stripeRows: true
});

suliangben
29 Jun 2010, 3:02 AM
var grid = new Ext.ux.grid.TableGrid("the-table", {
fields: [
{},
{type: 'int'}
{}
],
stripeRows: true
});

thank you very much.good job.