Wijmo grid editing with custom control. to show all as edit mode

Posted by: shihalv on 14 September 2017, 11:54 am EST

  • Posted 14 September 2017, 11:54 am EST

    I have a wijmo grid, and added a wj-autocomplete to one of the columns.

    i’m actually putting an Edit button for user to click to switch the grid to edit mode

    Is it possible to make all the rows in edit mode for a custom control?

    Currently only 1 row is being shown in edit mode at a time… and user needs to click on the row to show the wj-autocomplete.

    i use this code to switch it to edit mode

    flexgrid.startEditing(true, 0, 0, true);

  • Posted 14 September 2017, 11:54 am EST

    Hi Shihalv,

    This is not possible logically as we cannot focus all the input controls on the form. Similarly, only one cell can be in edit mode at one time.

    However, we can change the editing behaviour of FlexGrid. We can make cell editable in one click and dropdown can be shown on click for columns containing custom editor.

    Please refer to the attached sample that implements the same.

    Thanks,

    Manish Kumar Gupta

    2017/02/FlexGridCustomEditor.zip

Need extra support?

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

Learn More

Forum Channels