How do you set the display length for the first page only?
How do you set the display length for the first page only?
I'd like the first page of the datatable to have a length of 24
I've tried setting iDisplayLength to 24 inside fnDrawCallback, which "works" but then I think the variable persists into the request for page 2, so page 2 incorrectly becomes a length of 24 then page 3 is (correctly) 25
I've tried setting iDisplayLength to 24 inside fnDrawCallback, which "works" but then I think the variable persists into the request for page 2, so page 2 incorrectly becomes a length of 24 then page 3 is (correctly) 25
This discussion has been closed.
Replies
Allan