PDA

View Full Version : Bug in Grid Examples



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

robert.swanson
02-04-2011, 03:04 PM
Indeed, you are correct, Paul! Thanks for pointing out the typo, we'll get that fixed in the upcoming maintenance release.