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
590
Facing issue while loading grid layout.
posted

Hi

I want a small clarification on one of the use case related to IgrDataGrid (https://es.infragistics.com/products/ignite-ui-react/react/components/grids/data-grid/overview).

I have used IgrDataGrid,  in that I have multiple grids lets suppose Grid1 and Grid2 both the grids are on separate tab(Tab1 , Tab2) and Grid1 is my default grid which will be visible when I open the component.

So the  issue is that when I open the component then I'm doing grid.loadLayout(gridLayout); here this loadLayout function is throwing an exception for Grid2 and I'm not able to load the layout for the same (Grid2).

So, for this I need to know how can I load the layout for multiple grids.

Hoping for a positive response.

Thanks!!!

Parents
No Data
Reply
  • 7535
    Offline posted

    Hello Shubham,

    I would like to know if your grid1 and grid2 has the same schema ? If yes then only you can save one grid layout and load it into another grid.

    Try to save grid1 layout ,make some changes into layout and then load the same layout into grid1 and test is it working ?

    This should work and if you load the same layout into grid2 is not working that means grid2 layout/schema is different.

    If you are still not sure then share your sample for me to have a look .

Children