≡
×
Plus
Manual
Examples
Reference
Download
Blog
Community
Support
can i give default value instead of 10 as 50 ,100 for rows display
can i give default value instead of 10 as 50 ,100 for rows display
SandeepM
Posts: 28
Questions: 0
Answers: 0
June 2012
edited June 2012
in
General
I want to give default value as 50 100 150 200 instead of 10 25 50 100 how can I do that in datatable.
is datatable providing any functionality about it
Replies
arjun_adhikari
Posts: 32
Questions: 0
Answers: 0
June 2012
hello SandeepM
i think this is possible first you have to initialise the following when you initilalis your datatable
"iDisplayStart": 20
this will display 20 rows when the table is initialised
and to make the drop down according to your specification
initialise the following
"aLengthMenu": [[20,100, 150, 200,-1],[20,100, 150, 200,"All"]],
regards
Arjun
SandeepM
Posts: 28
Questions: 0
Answers: 0
June 2012
thank you very much
This discussion has been closed.
Replies
i think this is possible first you have to initialise the following when you initilalis your datatable
"iDisplayStart": 20
this will display 20 rows when the table is initialised
and to make the drop down according to your specification
initialise the following
"aLengthMenu": [[20,100, 150, 200,-1],[20,100, 150, 200,"All"]],
regards
Arjun