Datatable - Select the last item created without changing filters

Datatable - Select the last item created without changing filters

b2lub2lu Posts: 1Questions: 1Answers: 0

Hi community,

I have a datatable that's using paging (Show 10 entries). Let's say I have 100 entries so now I have 10 pages.

I have a popup for creating items for this datatable. The problem is when the item is created, I need to go search for it.

Question: Without using filters, is there a way to have the datatable go to the page the new item is on (say Page 6) and have the new item selected?

Lastly, if the above is not possible, is there another way for me to 'focus on the new item' so user won't need to go search for it?

Thanks in advance!

Answers

  • kthorngrenkthorngren Posts: 20,322Questions: 26Answers: 4,774

    Take a look at the plugins page. There are two options you can try, ether row().show() or page.jumpToData(). They both work well.

    Kevin

This discussion has been closed.