Is it possible to incline create new row in table? #1630
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @verbeckii, in theory, your approach could work by first adding an empty row which can then be inline-edited. You could use a Modal for your use-case (assuming a group has two fields, name and store). The modal opens on the same page and contains the form for creating new Groups. Find more information about the Create resources pattern on our website. |
Beta Was this translation helpful? Give feedback.
Hi @verbeckii, in theory, your approach could work by first adding an empty row which can then be inline-edited.
Nevertheless there are some implications on that approach: how do you handle scenarios, where sorting, filtering or pagination is actively used. E.g. if the user has sorted a table and is currently on page x/y - would the specific position in the table be considered when adding a new row?
You could use a Modal for your use-case (assuming a group has two fields, name and store). The modal opens on the same page and contains the form for creating new Groups. Find more information about the Create resources pattern on our website.