warlord0
6 Jun 2007, 3:31 AM
Firstly, WOW! what a great program - Never before have I written so little JS and got so much back!
Now, my problem.
I'm using a tree that when the final leaf node is double clicked I'm reloading a GridPanel with data relevant to that node.
The actual load/reload of the data
ds.reload('jsonQuery.php', {params:{start:0, limit:50, id:path})
works fine and displays the data from the php query using the id to filter the sql query, just fine. But when I click next page the id parameter doesn't appear to get kept and passed on. Hence the recordset correctly moves to page 2 but in the entire recordset, not just the ones matching the id.
Any clues appreciated.
Now, my problem.
I'm using a tree that when the final leaf node is double clicked I'm reloading a GridPanel with data relevant to that node.
The actual load/reload of the data
ds.reload('jsonQuery.php', {params:{start:0, limit:50, id:path})
works fine and displays the data from the php query using the id to filter the sql query, just fine. But when I click next page the id parameter doesn't appear to get kept and passed on. Hence the recordset correctly moves to page 2 but in the entire recordset, not just the ones matching the id.
Any clues appreciated.