Click here to Skip to main content
15,880,651 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created a store with ExtJS 3.4 , here is my code :

 var itiStore = new Ext.data.JsonStore({
    root: 'getItiResultResult',
    fields: [
        {name: 'Arrival'},
        {name: 'ColumnsName'},
        {name: 'Error'},
        {name: 'Points', mapping: 'Points'},
        {name: 'La', mapping: 'Points.La'},
        {name: 'Lo', mapping: 'Points.Lo'},
        {name: 'Rows', mapping: 'Rows'},
        {name: "ChangeRowColor", mapping: 'Rows.ChangeRowColor'},
        {name: "CumDistance", mapping: 'Rows.CumDistance'},
        {name: "CumTime", mapping: 'Rows.CumTime'},
        {name: "Direction", mapping: 'Rows.Direction'},
        {name: "Distance", mapping: 'Rows.Distance'},
        {name: "La", mapping: 'Rows.La'},
        {name: "Lo", mapping: 'Rows.Lo'},
        {name: "RoadMap", mapping: 'Rows.RoadMap'},
        {name: "Step", mapping: 'Rows.Step'},
        {name: "Time", mapping: 'Rows.Time'},
        {name: "dCumDist", mapping: 'Rows.dCumDist'},
        {name: "dCumTime", mapping: 'Rows.dCumTime'},
        {name: 'Start'},
        {name: 'TotDistance'},
        {name: 'TotTime'}
    ]
});
>


I used to show my store :

itiStore.loadData(Ext.decode(response.responseText), false); console.log(JSON.parse(response.responseText)); 
>


how can i get just the value of the field 'RoadMap' and recuperate it to show it apart ?

Thank you guys in advance for your help.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900