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
240
How to dynamically create Ignite UI grid from asp.net mvc Controller?
posted

I need to dynamically create the grid based on data which i have. I will be creating a template for the grid from controller using "Grid Modal" and will pass the modal to view(.cshtml). So the grid will be generic, i.e it can be used for any data which i will be initializing in the controller using "Grid Modal". Can you suggest an example which explains this. Also i need to know whether will I be able to make use of all of the grid features (Virtualization, Paging,...), If I can how can I configure it.

Parents
No Data
Reply
  • 2355
    Offline posted

    Hi,

    Thank you for posting in Infragistics Forums! If you are not sure what the columns will be you can set the autoGenerateColumns option to true. Also if you want more info about the MVC part of the product please refer to these topics and this sample .

    I hope this helps!

    Kind regards,
    Petko Zhekov
    Software Developer

Children