FlexGrid cell editor does not respect DataMap isEditable

Posted by: lundb on 21 April 2018, 1:41 am EST

    • Post Options:
    • Link

    Posted 21 April 2018, 1:41 am EST

    Problem:

    DataMap documentation describes isEditable as “indicates whether users should be allowed to enter values that are not present on the DataMap”.

    That does not appear to be the case when using a DataMap in an editable FlexGrid.

    Reproduction steps:

    See example fiddle http://jsfiddle.net/1tcjc3sq/15/ . The first column has isEditable = false, but uses the same field for data and display. It allows unlimited user entry. The second column uses different fields for data and display, and when the user focuses out of the editable cell, if the value entered is not a valid value, the cell is reverted to its last good entry.

    Expected behavior:

    If DataMap isEditable = false, DataGrid editable dropdown should behave the same way it works when the DataMap uses different label/data properties.

  • Posted 22 April 2018, 10:53 pm EST

    Hi,

    We are able to replicate the issue at our end.

    We have forwarded this issue to the concerned team for further investigation with tracking id 318894. We will let you know as we get any update on this.

    ~Manish

  • Posted 18 July 2018, 5:47 am EST

    Confirmed resolved in 201802.500. Thanks!

  • Posted 24 June 2021, 1:03 am EST

    Hi, I am facing a similar issue, can you guide me to the solution?

    Thanks

  • Posted 24 June 2021, 7:16 pm EST

    Hi Ashish,

    The issue is fixed in the 5.20182.500 version. Whenever isEditable property is set to true, you will be able to enter any value which is not present in the DataMap. But this will only work if you have a simple array (like an array of strings, numbers, etc) or you have the same selectedValuePath and displayMemberPath. If the source of DataMap is an array of objects and the selectedValuePath and displayMemberPath is different, then isEditable will have not effect on the grid.

    If this does not resolve your issue, please share what exact issue are you facing.

    Regards,

    Ashwin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels