- This topic has 10 replies, 2 voices, and was last updated 6 years, 8 months ago by
Anonymous.
- AuthorPosts
- June 17, 2016 at 21:45 #9429
MatthewParticipantIs there a way to hide some of the fields related to the pagination menu? I want to hide the ‘Show [ ] entries’, the Previous and Next buttons, and the page numbers.
I have a data table that I only want users to be able to look through with the search bar, while only displaying a certain number of results at a time.
July 1, 2016 at 20:21 #9613
MatthewParticipantAny ideas guys? I imagine there would be some css to hide some of the menu items from the front end, right?
July 4, 2016 at 10:09 #9646
AnonymousInactiveHello ultramat128,
I sent your issue to our developers department. Sorry for this small delay, they will try to solve it asap. We had some problems, but now everything is ok.July 4, 2016 at 12:19 #9647
AnonymousInactiveHello ultramat128,
We found the solution!
#supsystic-table-1_wrapper .dataTables_length, #supsystic-table-1_wrapper .dataTables_paginate {
display: none;
}you need to insert this code to your CSS (do not forget to change the id of the table) and everything should work correctly. I hope, we’ve helped you.
July 4, 2016 at 12:19 #9648
AnonymousInactiveHello ultramat128,
We found the solution!
#supsystic-table-1_wrapper .dataTables_length, #supsystic-table-1_wrapper .dataTables_paginate {
display: none;
}you need to insert this code to your CSS (do not forget to change the id of the table) and everything should work correctly. I hope, we’ve helped you.
July 4, 2016 at 21:21 #9661
MatthewParticipantThank you so much, this is exactly what I needed!
A have afew more somewhat related questions too. Would it be possible to only show the ‘previous’ and ‘next’ buttons, without the page numbers? Also, is it possible to to center the search bar, so instead of being right justified it would appear in the center? Thank you again!
July 7, 2016 at 19:05 #9766
AnonymousInactiveHello ultramat128,
yes, please, again I send everything. Hope they will reply asap.July 7, 2016 at 22:43 #9775
MatthewParticipantThank you for responding supsystic.anna!
Please let me know when a solution for this is found.
July 11, 2016 at 11:42 #9848
AnonymousInactiveHello ultramat128,
We found actually all the answers.
1) Can the next and revious button be shown without numbers? = yes, you need insert this code
#supsystic-table-1_wrapper .dataTables_paginate>span {
display: none;
}
2) Can we make a search bar being on the center, not at the left/right side? = yes, here is the code for you
#supsystic-table-1_wrapper #supsystic-table-1_filter {
float: none;
text-align: center;
}
#supsystic-table-1_wrapper .dataTables_length {
float: none;
}
It will look like this http://prntscr.com/bre8qiI hope, I’ve helped you
July 11, 2016 at 18:41 #9873
MatthewParticipantYou’ve been a big help, thanks a bunch!
July 12, 2016 at 16:38 #9887
AnonymousInactiveUltramat 128,
We are happy to help! - AuthorPosts
- You must be logged in to reply to this topic.