Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
TreeGrid - how to style icons for expand/collapse actions?
posted

Hi

By default expanding/collapsing rows is placed on the left of the first column. 

I would like to move it to the last column so it is placed one the very right of the tree grid.

How to do  it?

-Jacek

Parents
No Data
Reply
  • 1500
    Offline posted

    Hello,

    Thank you for posting on our forums.

    By default, the expander icon is on the left, however each child group is pushed to the right of the parent to visualize hierarchy. There is currently no reverse option coming out of the box, so you can submit a feature request here.

    Alternatively, in order to ensure there will be place for the expander buttons, I can suggest adding extra button column as last, and control expanding/collapsing from there. However, please note that all levels will be in the same column, so it will be hard to visualize parent rows.

    Generally I don't really see a good way to achieve what you are looking for unless the tree is generated right to left, which is currently not available as an option of the tree grid.

    Sincerely,
    Tihomir Tonev
    Associate Software Developer
    Infragistics

Children
No Data