Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Bug report [Reproducible in showcase]

    Hi,

    We have a requirement to show a list of editable items in a grid with each row having a different editorType for a given column. The following showcase example demonstrates what we're trying to achieve: https://www.smartclient.com/smartcli...tomCellEditors

    However, if we set 'alwaysShowEditors: true' in the sample it totally breaks. Looking into the code a bit I can see that internally only one editor form is created - I guess for performance.

    Is this something that might get fixed? If not, we will have to dynamically create a DynamicForm instead of using a Grid.

    #2
    We've solved this by overriding formatCellValue and leaving alwaysShowEditors to false

    Comment


      #3
      Just for completeness: having a different editorType per-row definitely won't work with alwaysShowEditors. We'll get this and some other limitations better documented shortly.

      Note also that if you want editors visible in every row and the rows each have different editors, we'd definitely recommend using a DynamicForm rather than a ListGrid, unless the number of rows is extremely large (DynamicForms do not do incremental rendering).

      Comment

      Working...
      X