Currently, when a foreignKey column is configured in a Grid and the value is null, the valuePrimitive option of the DropDownList should be set. However, in order to set the valuePrimitive for foreignKey column configuring a custom editor is needed as described in the link here. I would like to have the possibility to set the valuePrimitive option as part of the column configurations, without adding a custom editor. For example:
columns: [Hello Eliezer,
Thank you for the suggestion. I checked that with the dev team. The response was that the effort of both options (make valuePrimitive: true default and expose the valuePrimitive option) is the same. Therefore, it will be a better approach to expose the valuePrimitive option.
Regards,
Ianko
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi team.
The ValuePrimitive is, maybe, relevant to the direct use of DropDownLis.
However, for use as an edit component inside the edit popup window,
it must be true for 99.9% of the cases.
The grid can have thousands of records and a few of them can have null values.
Those a few rows are the main candidate to set their null value to a legitimate value
(one of the values of the foreign keys).
One other alternative is to change the default value to true.
This is one line of code and many many of your clients will ble4ss you for that.
Eliezer Kaplansky PhD.
CTO
Makeshet information systems LTD.
Hello,
Thank you for the feedback. The task will be considered and added to the to-do list based on the demand and the votes of this item.
Regards,
Ianko
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.