Hi
Im using wingrid and have to display hundred thousand records. So im using manual paging to display these records. We are planning to have the vertical scrollbar enabled on the wingrid which would have the minimum and maximum values assigned programatically.So Please let me know how i can find the vertical scrollbar, set these values and enable it. Please see the number of records will be set to 10 per page and i still want the scrollbars enabled.
Hi ,
Use these properties of scroll bars ,
to set the vertical scroll bar alone use this or by default it shud be automatic.. or you can set it to automatic
e.Layout.Scrollbars = Scrollbars.Vertical
To modify the appearence and other settings use the scrollbarlook
e.Layout.ScrollBarLook.
You cannot set the Minimum and Maximum on the grid's Scrollbar. These values are based on the number of rows in the grid and the grid does not have any paging functionality.
You might want to consider using LoadStyle = LoadOnDemand and using the UltraDataSource to load your data on-demand. There's a sample of this included with NetAdvantage called the Millions Rows sample.