column menu fails on second try if columns has a ' field: "" '

3 posts, 1 answers
  1. Morten
    Morten avatar
    345 posts
    Member since:
    Jul 2012

    Posted 07 Dec 2017 Link to this post

    Dear support

    if there is a field: "" in the columns options the column menu will fail (not close or re-show) once shown on any of the other columns.

    Please see this http://dojo.telerik.com/oJeqet

    /Morten

  2. Answer
    Stefan
    Admin
    Stefan avatar
    2475 posts

    Posted 11 Dec 2017 Link to this post

    Hello, Morten,

    Thank you for the provided example.

    The issue occurs because setting the empty string to the field property is not meeting the field requirements:

    https://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.field

    "The field name should be a valid Javascript identifier and should contain no spaces, no special characters, and the first character should be a letter."

    If the column does not have a field bound to it, the field property could be omitted.

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Morten
    Morten avatar
    345 posts
    Member since:
    Jul 2012

    Posted 11 Dec 2017 in reply to Stefan Link to this post

    Thanks Stefan,

    I see, however, maybe a simple isnullorempty check could be squeezed in :-)

    Best regards

    Morten

Back to Top