How do I load default value of Combobox in custom grid.Below is my example.
1 Answer, 1 is accepted
answered on 01 Apr 2019, 01:10 PM
Thank you for the provided example. I see that you are using one of our JSON files as data for your Grid DataSource. The current behavior is a result of the changes you are trying to make. When you are defining the defaultValue of the Category column, you are trying to override it with a value that is not in the products.js file. Please take a look at this modified version of the Dojo example you gave me. You can see that I am using a local DataSource. I can then easily set a default value (9) through the column template. Also note that, when defining the items for your Combobox DataSource, you should not have items with the same value. This will result in an incorrect behavior when trying to select the corresponding text.
I hope that helps you. Please get back to us if you have further questions.
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.