I'm writing this in case someone is trying to make GridPanel to work together with PagingToolbar using XML data.
The problem is very simple. Using examples and API documentation I was trying to achieve this goal. No success! Google it ... no sucess! Everything I found was like the thing I did but:
IT WAS NOT WORKIIIIING!
Finaly I went into the ExtJS code to search for the problem and after few minutes I've located the problem. In the documentation is pointed that the name of the total records in XmlReader is: "totalRecords" but in JSON is "totalProperty".
So what I found is that in the code everywhere was used "totalProperty" ... and once I changed this it started to work!
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment