Add row with pagination
Add row with pagination
Hi,
I have a datatable with 1000+ rows that is paginated by 100 rows. I would like to dynamically insert new rows and have a script that works fine as long as the new row is inserted on the current page. But if I add a row that gets inserted on a page that is not currently visible it doesn't show in the table. However the total number of entries at the bottom of the table gets incremented by one each time.
To be able to show this newly added row on a different page I have to reload the page.
Ultimately I would like to add a row and highlight it in the table. This is doable if the new row gets placed on the same page but I am not able to do this when it is on another page since I can't select the row since it is not in the table.
Am I missing something or is this functionality lacking?