Fixed rows

Fixed rows

yupyupyupyup Posts: 2Questions: 0Answers: 0
edited September 2013 in General
Is there anyway that shows a fixed number of rows on each page after a number is clicked so the height of the table can stay the same?

It is possible to load the data into the empty rows only after the a search or filter is made?

Please share with me if you guys have any solution. Thank you very much.

Replies

  • Rishabh_s_chauhanRishabh_s_chauhan Posts: 5Questions: 0Answers: 0
    edited September 2013
    Yes ,you can set the display length when initializing a datatable,like this

    [code] $('#example')').dataTable({
    "aoColumns": [null,null,null,null,null],
    "iDisplayLength" : 20
    });
    [/code]
This discussion has been closed.