Hi Mudit,
I would suggest you take a look at the following sample project where dynamic Grid is created.
- https://github.com/telerik/ui-for-aspnet-mvc-examples/blob/master/grid/binding-to-datatable/KendoUIMVC5/Views/Home/Index.cshtml
When the Grid is created dynamically, you could return the Model to the view and iterate through its properties and their type. This way you could configure the DataSource Model and set the type of the fields. Also, if needed, you could set DefaultValue, by using the DefaultValue method.
I hope the provided sample project will help. In case the issue continues to persist may I ask you to prepare a small isolated sample where the issue can be observed and send it back to us? This will help us to troubleshoot locally and provide you with further assistance.
In case you have additional questions do not hesitate to contact us.
Regards,
Neli
Progress Telerik
Progress is here for your business, like always.
Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.