Display the Gridview's scroll-bar to reflect the total number of all records (not only the downloaded rows in datastore)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Display the Gridview's scroll-bar to reflect the total number of all records (not only the downloaded rows in datastore)

    Hi guys,
    My task is to create a paging mechanism in Ext.NET Grid view control using scrollbar.
    That means when user scroll the bar, it will make a request to server and fetch the page according to the position of the scroll-bar. I managed to get the code works, however, there's a problem with the scroll-bar that it does not reflect the total records of gridview.
    Let's say that we have a grid-view of 1000 records, although it has downloaded and show only 10 records; the scroll bar must be shown as if all 1000 records are loaded.
    Is there an easy way to change the display of Ext.NET grid view's scroll-bar to reflect the total number of all records?
  2. #2
    Hi,

    I can suggest to consider using the BufferView.
    https://examples1.ext.net/#/GridPane...ered_GridView/

Similar Threads

  1. GridPanel, How to get total number of rows?
    By zhangsir199 in forum 1.x Help
    Replies: 1
    Last Post: Mar 17, 2012, 3:39 PM
  2. Replies: 0
    Last Post: Mar 11, 2012, 9:20 AM
  3. Replies: 14
    Last Post: Nov 02, 2010, 7:44 AM
  4. autoload datastore records from http proxy
    By hnafar in forum 1.x Help
    Replies: 1
    Last Post: Feb 11, 2010, 7:50 AM
  5. [CLOSED] GridView wrong number of records displayed
    By alexp in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 15, 2009, 11:03 AM

Posting Permissions