How to apply vertical scroll bar to kendo listview?

4 posts, 0 answers
  1. Parthasarathi
    Parthasarathi avatar
    24 posts
    Member since:
    Oct 2012

    Posted 17 Jan 2013 Link to this post

    Hi All,

    I am using listview in some of the mvc views. When page size is increased,e.g,50 items per page, records are coming out of the listview. To fix this issue, how to apply vertical scroll bar to kendo listview? Immediate help would be appreciated.

    Regards,
    Partha.
  2. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 18 Jan 2013 Link to this post

    Hi Partha,

    The ListView itself does not provide a built-in configurable scrolling functionality, but you can enable it easily with CSS just like for a regular <div> element. For example:

    #ListViewID
    {
         height: 400px;
         overflow: auto;
    }

    You can also use max-height instead of height, so that the widget resizes automatically if it has a small number of items.

    Regards,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Ariel
    Ariel avatar
    1 posts
    Member since:
    Jul 2013

    Posted 23 Jul 2013 Link to this post

    Yes, but how i add an scroll without fixing the height?
  5. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 24 Jul 2013 Link to this post

    Hello Ariel,

    Can you do that with a plain <div> element?

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready