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
20
How to add items dynamically in Grid layout mode of igLayoutManager?
posted

I know Grid layout mode of igLayoutManger where we provide fixed size(rows,cols) of layout and fixed no. of items and their rowIndex, colIndex,rowspan and colspan.

But my layout has to be dynamic. I want to add items, delete items on runtime dynamically with user's choice. I have no idea how to modify layout dynamically. Please help!

Parents
No Data
Reply
  • 845
    Offline posted

    Hello Anjali,

    Thank you for contacting Infragistics Developer Support.

    There is a good description how you can change most of the layout options during runtime here.

    Basically you destroy and recreate the igLayoutManager when adding/removing DOM nodes inside the layout container.

    Also, depending on the layout mode you can pass the additional options controlling how the nodes will be rendered/arranged. 

Children
No Data