array source + infinite y scroll
array source + infinite y scroll
Brent_Wientjes
Posts: 2Questions: 0Answers: 0
I am just starting to learn dataTables. I wish to use the plugin with an array source and utilize the "infinite" scroll ability. I wish to have the height of the table something more than all of the examples of 200px/10 rows of data. When I change the example code to 300 or 400px, then the vert scroll bar does not appear and thus can not scroll the data set. Only the initial 10 rows in the data array are displayed. I have been looking at the documentation but have yet to discover a setting for how many rows of data are set (it appears to be 10 as default). My question is:
How to change the default row count for the displayable viewport?
The dataTable plugin looks wonderful. Very similar to Flex DataGrid which I greatly like.
How to change the default row count for the displayable viewport?
The dataTable plugin looks wonderful. Very similar to Flex DataGrid which I greatly like.
This discussion has been closed.
Replies
'iDisplayLength': 20 (or some number bigger than display row area)
in the option list of setting up a datatable.
Allan