Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
ultrawebgrid - Can't get row count on the server.
posted

I am having problem with ultrawebgrid. I am trying to show users label with row count. I am using browserlevel.xml and loadondemand.xml. When using scrolls down, I show 20 rows at the time (e.layout.rowsrange=20) and add additional 20 rows as user scrolls. User can also filter columns. Problem I am having is I am trying to show row count on the clinet sayng something like "showing 25 out of 2000 records" and I can't find the way to do that when user scrolls down for more records in the datagrid or filters by individual coulumns. When I try to get row count (grid.rows.count) in initialize layout, initializedatasource and onxmlhttprequest events I get 0 count and I can't find the way to show how many rows will be displayed. Any help is appreciated.