I tried using select and also index but it didn't work.
How can I make Dropbox default to the first data if I don't pick anything?
If I pick one, the data is imported normally.
If uneven, it is empty.
2 Answers, 1 is accepted
answered on 17 Dec 2019, 08:19 PM
Thank you for the snippet.
Looking at the ticket, I am assuming that you are adding a Kendo UI DropDownList in the Kendo UI Grid Editor using the columns.editor function and while adding a new row in the Grid, you want the default value to be added in the row when no selection is made from the DropDownList.
Please take a look at this Dojo example where the Grid adds the default value in the new row when no value is selected from the DropDownList.
I hope you find this information helpful. However, if I have misunderstood your query, could you please respond with the detailed behavior observed by you or update the Dojo example such that it demonstrates the behavior? I will investigate further.
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.