Hello,I am in the process of evaluating IgniteUI for on of our project at Boeing.I followed the load-on-demand example provided by Infragistics. Everything is working as expected. However, instead of specify the columns. I would like it to Auto Generated. I set the AutoGenerateColumns on the GridModel to true, but I got the javascript error complaining about no Columns defined.Please help.Thank you
Hello Phong Nguyen,
I'm glad that you were able to resolve your issue.
Best regards,Martin PavlovInfragistics, Inc.
thank you. it works as suggested.
Try passing data to the GridModel initially. The Grid MVC Helper wrapper requires some data so that it can infer the columns and their data types for you even when you have specified AutoGenerateColumns = true.
When you pass initial data the igGrid load-on-demand(Append Rows on Demand) will take only the first chunk when initializes and any subsequent load will be done with remote request.
Hope this helps,Martin PavlovInfragistics, Inc.