Count rows Symfony 5

Count rows Symfony 5

yinyangyinyang Posts: 25Questions: 3Answers: 0

Hi,

How can I count all rows in datatable on Symfony 5 ?

Can I retrieve this info from de controller or from js script ?

My JS looks like :

$('#events').initDataTables({{ datatable_settings(datatable) }}, { searching: true, ordering: false });

Thank you

Answers

This discussion has been closed.