1

I'm trying to display the rowCount of a lazy loaded datatable before displaying the datatable itself. The problem is that the rowCount value is set in the load callback function so the displayed value is wrong.

Is there a ajax event on datatable component which is triggered when the render or the load of the datatable is done?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Juskie
  • 67
  • 1
  • 12
  • Set rowCount in a bean's method annotated with `@PostConstruct`, just as in the example given here: http://stackoverflow.com/a/13973903/870122 – perissf May 29 '13 at 18:29
  • that implies to make a additional sql query... – Juskie May 29 '13 at 21:29
  • No, the additional query is only necessary if you have a very large result set and you need to paginate it – perissf May 30 '13 at 06:02

0 Answers0