show / hide all
show / hide all
Hello,
I use pagination and "bLengthChange" is true. All it's fine but how can I add button / link / span etc. which show all rows and hide "bLengthChange" and pagination numbers (second click show "bLengthChange" and pagination number)?
Regards
Piotr
I use pagination and "bLengthChange" is true. All it's fine but how can I add button / link / span etc. which show all rows and hide "bLengthChange" and pagination numbers (second click show "bLengthChange" and pagination number)?
Regards
Piotr
This discussion has been closed.
Replies
You can 'show all' using the method described in this post: http://datatables.net/forums/comments.php?DiscussionID=1079#Item_2
And in the event handler for showing/hiding all, you can simply set the style.display property for the elements you want to hide to display:none;. This might help for the selectors: http://datatables.net/styling/ids_classes
Allan