Skip to content

Is it possible to incline create new row in table? #1630

Answered by johannes-weber
verbeckii asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
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
Category
Q&A
Labels
None yet
2 participants