I use urls like: data/parent/2/15/name/asc
2 == page …
it would be wonderful to have a switch to change the url appearance
i changed the code for my need from
$.getJSON(ts.p.url,{page: ts.p.page, rows: ts.p.rowNum, sidx: ts.p.sortname, sord:ts.p.sortorder}, function(JSON) { addJSONData (JSON,ts.grid.bDiv); if(loadComplete) loadComplete();});
to
$.getJSON(ts.p.url + '/' + ts.p.page + '/' + ts.p.rowNum + '/' + ts.p.sortname + '/' + ts.p.sortorder, function(JSON) { addJSONData (JSON,ts.grid.bDiv); if(loadComplete) loadComplete();});
salute
rai
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top