extJs Json Reader

Posted by tinti on Stack Overflow See other posts from Stack Overflow or by tinti
Published on 2010-06-10T19:20:12Z Indexed on 2010/06/10 19:22 UTC
Read the original article Hit count: 207

Filed under:
|
|
|

Please help me with this problem. I'm new in extJs and i need a little help. I have this code Ext.onReady(function() { var datesStore = new Ext.data.JsonStore({ start : 'StartTableDate', end : 'FinishTableDate',
autoLoad : true, proxy : new Ext.data.HttpProxy({ url : 'dates.json', method:'GET' }), fields : [ // 2 mandatory fields {name:'StartTableDate'}, {name:'FinishTableDate'} ] }); // i want to pass to variable start si end the values from JSON var start = 'StartTableDate'; var end = 'FinishTableDate';

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about JSON