Hi,
I'm trying to call 'reload' method on treegrid data item to load new data.
It looks like it is not working or I use it in wrong way.
I don't want to post my code here but the idea is following:
0) Create treegrid
1) Load only root elements (level 1)
2) Expand any root item (it loads data for level 2 connected to this 'root' item)
3) Do some updates for 'selected' item
4) run reload like this:
$('#myTg').treegrid('reload',id);
treegrid gets data from PHP script where in the beginning I have the following line
error_log("id=".$_POST['id']);
And returning to my steps above I have traces in error_log file:
0) N/A
1) id= (empty) - it is OK
2) id=3 (any value) - it is OK
3) N/A
4)
PHP script was not calledERROR console (Opera) is empty.
I tried to do the same for datagrid and it was OK. The problem is in treegrid only I think.
Do I do smth wrong or it is real bug in treegrid?
//Valery