Get a number of rows after search.

Get a number of rows after search.

carlvelacarlvela Posts: 2Questions: 1Answers: 0

Let's say I just want to show x number of results after I search a datatable. Is this possible? Thanks!

table.columns(5).search(value).draw();

Answers

  • kthorngrenkthorngren Posts: 21,172Questions: 26Answers: 4,923
    edited July 2020

    You can use the recordsDisplay property of the page.info() for the number of rows after the search.

    Kevin

  • carlvelacarlvela Posts: 2Questions: 1Answers: 0

    Thank you, let me try it.

This discussion has been closed.