pageResize with paging = false

pageResize with paging = false

gate61gate61 Posts: 2Questions: 1Answers: 0

Hi,

I’m very new to DataTables.

I’m trying to use pageResize with paging = false.
As soon as I set paging = false, pageResize does not work anymore.
You can try here, changing pageResize to false: http://live.datatables.net/fotiwozu/12/edit

Any idea on how to solve this ?

Thanks !

Olivier

Answers

  • tangerinetangerine Posts: 3,342Questions: 35Answers: 394

    From the pageResize docs:
    https://datatables.net/blog/2015-04-10#CSS

    Paging must be enabled (paging - it is by default in DataTables)

  • gate61gate61 Posts: 2Questions: 1Answers: 0

    Didn’t see it. My bad.
    I don’t want paging and the table height must be 100% of the containing div (which is fixed height and changed by code).
    I just need to scroll thru the data using the scrollbars.

    Is there an alternative to pageResize ?

This discussion has been closed.