≡
×
Plus
Manual
Examples
Reference
Download
Blog
Community
Support
tabletools: select all button select all table records not the displayed rows
tabletools: select all button select all table records not the displayed rows
drmovi
Posts: 7
Questions: 0
Answers: 0
December 2012
edited December 2012
in
General
how could i use select all button to select only displayed record (say record of first page) instead of selecting all records
Replies
allan
Posts: 65,846
Questions: 1
Answers: 10,956
Site admin
December 2012
[code]
tt.fnSelect( $('tbody tr') );
[/code]
Allan
drmovi
Posts: 7
Questions: 0
Answers: 0
December 2012
[code]t.fnSelect( $('tbody tr') );[/code]
how could i implement this code
drmovi
Posts: 7
Questions: 0
Answers: 0
December 2012
ok fine it works when loading table but i want to use it when click select all btn
allan
Posts: 65,846
Questions: 1
Answers: 10,956
Site admin
December 2012
Define a custom button which uses that code in fnClick - http://datatables.net/extras/tabletools/button_options#fnClick
Allan
drmovi
Posts: 7
Questions: 0
Answers: 0
December 2012
thanks Allan
This discussion has been closed.
Replies
tt.fnSelect( $('tbody tr') );
[/code]
Allan
how could i implement this code
Allan