Add new row inline at bottom of table

Add new row inline at bottom of table

progersprogers Posts: 7Questions: 0Answers: 0
edited April 2013 in Editor
Is it possible to add a new row inline at the viewable bottom of the table when I click the add new row link rather than open up the lightbox using Editor?

Replies

  • allanallan Posts: 63,205Questions: 1Answers: 10,415 Site admin
    It is indeed possible, but there isn't a built in option for it. You'd need a custom display controller that would inject the editing row at the end of the table, formatted for the table (this will be the difficult part I think - actually just putting the Editor editing form into the table isn't too difficult with a display controller, but it won't be laid out in columns).

    There is a tutorial on how to create custom display controllers available here: https://editor.datatables.net/tutorials/display_controllers .

    Allan
  • progersprogers Posts: 7Questions: 0Answers: 0
    Thanks, I'll take a look at that example and see if I can get it to work.
This discussion has been closed.