Is it possible to incline create new row in table? #1630
Answered by
johannes-weber
Oct 20, 2023
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. |
0 replies
Answer selected by
johannes-weber
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

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.