GridView to calculate data pager size

4 posts, 0 answers
  1. Gilberto
    Gilberto avatar
    65 posts
    Member since:
    Sep 2006

    Posted 30 Aug 2010 Link to this post

    Haw can i calculate the datapager size to fill (rows) all the area avaiable for the grid?

    Is that possible?
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 31 Aug 2010 Link to this post

    Hi Gilberto,

     I'm afraid that I don't understand your scenario. Can you provide a bit more info? Screenshot with desired result will be helpful as well. 

    All the best,
    Vlad
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Gilberto
    Gilberto avatar
    65 posts
    Member since:
    Sep 2006

    Posted 31 Aug 2010 Link to this post

    Thanks for your reply Vlad,

    Let me explain a bit more.

    Considering, i have a form 50% height of a window, and a gridview in the other 50%, this avaiable area to gridview changes especially because screen resolution or even if the user changes the window size.

    So how can i calculate the pagesize pager for this scenario?

    Actually i want the max page size and no scroll.

    Thanks
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 31 Aug 2010 Link to this post

    Hello,

     If you want to calculate PageSize depending on current visible grid rows you can check the approach used in this blog post. Look for SizeChanged event handler in CustomScrolling class. 

    All the best,
    Vlad
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top