I dont know is it my mistake or bug but i find something wrong with BaseParams.
PHP Code:
var timesheetStore = new Ext.ux.maximgb.tg.AdjacencyListStore({
baseParams: {
user_id: user_id,
date: window.currDate,
},
id: 'timesheetStoreId',
listeners: {
'beforeexpandnode': function(n,e) {
console.log(window.currDate);
},
url: '<?php echo base_url();?>hour/getHour',
method:'POST',
reader: new Ext.data.JsonReader(
{
id: '_id',
root: 'data',
user_id: user_id,
totalProperty: 'total',
successProperty: 'success'
},
record
)
});
If i am setting currDate value to new, root nodes loading nodes ok, but child nodes loading with previous currDare params.
Does anybody can help me ?