I am trying to make a tablet paggetable which is enhanced with the DotTables plugin, where a user can add new lines Separate form can be added.
Using APIs, it was relatively easy to do:
So this is my solution: add a new row, then change the existing page to the page where the row is inserted, then highlight the row briefly which page Any ideas on how to know it, has been put on? Why do not you try fnAddDataAndDisplay () Plugin on the page? Add a new row to the table and display it on the screen by jumping to the desired position on the page. This function also gives an element in Aadata added TR element and an index in the index, as you can provide an effect (for example, fade) to show the row that has been added. \ Edit - Someone asked exactly the same question on ~ Cyrix $ ('# table'). DataTable () FnAddData ([
data.content notes,
data.content.date,
data.content.name, amount = .fix (2), delete delete button]]); However, if the table is sorted and pagination is enabled, the inserted row may end up on another page other than the one currently selected, which is a bit of pain. Because, even with a fair success message near the 'add' button, I still feel that users will get confused.
Comments
Post a Comment