Add blank row skipping dialog
Add blank row skipping dialog
sushild
Posts: 2Questions: 1Answers: 0
Hello,
Is there a way one can add new blank row and set it on edit mode immediately skipping the modal dialog? Any suggestions for where I can start to do an inline add of a new row. Examples or posts I may have missed on here?
Any help will be greatly appreciated.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @sushild ,
In order to be able to trigger editing the row needs to already be in the database (since it needs a primary key value). You'll need to use the Editor
create()
method to create the new row, and then insubmitSuccess
trigger inline editing on that new row. Not the most trivial thing to do unfortunately.Cheers,
Colin
Thanks @colin for answering. Any chance of having the ability in future releases?
Hi @sushild ,
Probably not, tbh, it's an edge case requirement and the development focuses on the core functionality. But, that said, if there's enough demand it could be raised up the pecking order.
Cheers,
Colin
Long term we plan to add the ability to have multiple fields inline editable at the same time. As part of that work, the ability to add a new row with inline editable fields will likely fall out of it.
That is something that is a fair bit down the road though - as Colin notes, we are focusing on other aspects at the moment.
Allan