Improved the scroll

I made a little update to the livegrid.js wich should visually improve the scrolling (a lot!)

Also, here’s the source for the dummy output file getrows.php wich is used at the demo

So, what does the grid expect as input….
The output should always be wrapped by <ajax-response></ajax-response>

de <ajax-response> tag CAN contain the rowcount attribute wich should indicate the number of rows in this request. If it’s not specified the grid tries to figure it out itself. It CAN also contain the totalrows attribute. If that attribute is filled (with the total dataset rowcount), it overrules the initial value set by javascript. Each row within the resultset should contain a rownum=”i” where i starts at 0 (zero) for every request….

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.