jQuery UI Widgets Forums TreeGrid Expanding!

This topic contains 3 replies, has 2 voices, and was last updated by  Christopher 7 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Expanding! Posts
  • Expanding! #85299

    mohammad
    Participant

    hi team,

    How can i stop enlarging TreeGrid when i dril down(Expand All)?
    My requirement is TreeGrid should behave like normal Tree control as i expand all i should get vertical scroll bar, Instead of paging.

    Thanks in advance…

    Regards,
    Mohammad

    Expanding! #85301

    Christopher
    Participant

    Hi mohammad,

    Just add a ‘height’ property on the TreeGrid widget and the scroll bar will pop up when you start expanding the rows. Here is an example:
    http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtreegrid/javascript-tree-grid-column-formatting.htm?light

    Best Regards,
    Christopher

    jQWidgets Team
    http://www.jqwidgets.com

    Expanding! #85302

    mohammad
    Participant

    hi Cristopher,
    Thanks for your instant support…
    You mean i have to set “height: 200” property with some value? If yes, then what if i have 1000s of rows?

    Expanding! #85509

    Christopher
    Participant

    Hi mohammad,

    yes, just set the proeprty “height” to any number you desire and the TreeGrid will show the records and you can scroll up/down trough all of thems using the vertical scroll bar. It doesn’t matter how many rows you have, all of them will show up. Although I recommend using paging instead of scrolling if you have 1000s of rows, because you can search trough the records faster and also the grid itself will be visualized quicker.

    Best Regards,
    Christopher

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.