I have 2 comboBox(s) on a grid. When the user clicks the edit button, I want the values that are in the comboBox to stay, currently they blank out. Why is it doing this, and what's the simple solution.
1 Answer, 1 is accepted
0
Alex Hajigeorgieva
Telerik team
answered on 22 Aug 2019, 11:57 AM
Hello, Guy,
When the grid is put into edit mode, it creates its editors for each column field.
If the binding does not happen and the Kendo UI ComboBox blanks out, it is most likely that the value type of the column field does not match the expected value type by the widget.
For example, if the widget's dataValueField is a string but the column is a number. Here is a simple runnable example demonstrating the described behaviour. This is the only scenario that seems to reproduce the described ComboBox bank out:
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.