Paul
02-03-2011, 03:08 PM
Hi,
In the loadallgrid.html file you use this sortInfo data for the JsonStore:
sortInfo:{
field:'CUSNO',
dir: 'ASC'
}
However, the direction value should be specified with the full word "direction", as follows:
sortInfo:{
field:'CUSNO',
direction: 'ASC'
}
Although the tag passed in the URL is still just "dir", if you don't use the full word "direction" in the sortInfo you won't be able to use "DESC" as the sort direction because it will still pass the default "ASC" value in the "dir" parameter of the post.
Regards,
Paul
In the loadallgrid.html file you use this sortInfo data for the JsonStore:
sortInfo:{
field:'CUSNO',
dir: 'ASC'
}
However, the direction value should be specified with the full word "direction", as follows:
sortInfo:{
field:'CUSNO',
direction: 'ASC'
}
Although the tag passed in the URL is still just "dir", if you don't use the full word "direction" in the sortInfo you won't be able to use "DESC" as the sort direction because it will still pass the default "ASC" value in the "dir" parameter of the post.
Regards,
Paul