jQuery UI Widgets Forums Grid grid with a drop-down list column

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 6 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • grid with a drop-down list column #96003

    crystal
    Participant

    Hello

    To send data to the server at once, use uid as the only value in the row.
    However If there is a column whose column type is a drop-down list, the uid of the row changes when it is modified.
    So after the modification, the number of lines increases to two.
    In particular, I wonder if there is any way uid does not change without using the id attribute of source,

    The scenario is as follows
    1) Click the Add Row button
    2) Double-click the added row to change to edit mode and click outside the grid
    3) The number of lines increases to two

    Here is code to test
    http://jsfiddle.net/e3tj1oex/

    • This topic was modified 6 years, 9 months ago by  crystal.
    • This topic was modified 6 years, 9 months ago by  crystal.
    grid with a drop-down list column #96059

    Hristo
    Participant

    Hello crystal,

    Thank you for this feedback.
    We will investigate this case.

    You could create an additional column with custom created IDs (they should be unique), this column could be hidden.
    I would like to suggest you look at this topic, too:
    https://www.jqwidgets.com/community/topic/jqxgrid-with-custom-id-with-array/

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.