Topic: Sort icon on the table
Grf free asked 4 years ago
Just wondering, what is needed to get the nice up and down icons on a sortable table?
please send me your file or project to email@example.com. I will check this and replay you.
Just don't get it why this style is not part of the css when I compile the package.
@import './bootstrap/scss/bootstrap'; @import './bootstrap/scss/reboot'; @import './mdbootstrap-pro/scss/mdb';
Am I overlooking something?
.table-striped class is a Bootstrap class and we use this in MDB package. Do you need more help with that?
Yes, these are part of the import-stratement in de mdb.scss file. However if I search for 'table-striped through all files that came with MDBootstrap Jquery, I noticed that only bootstrap.css has the table-striped styling and no other file contains this styling. Just wondering how that works, because none of the mdbootstrap files has this styling.
Did you attached our database plugin into your code ? Please have a look at this page Sort Table Introduction and click on Getting Started
In the head of the table there is a option to click on the column name and then the table sorts on that column. Please have a look at this page Sort table example The icons on the right of the column name.
Secondly, I noticed that although I added the class 'table-striped', my table is not striped.
<table id="tideTable" class="table table-bordered table-striped table-responsive table-sm">
The table is not striped. Which scss-file contains the styling for the striped class?
Could you more accurately explain which icons you want to change and where you would like to place them ?
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.7.6
- Device: Mac Book Pro
- Browser: Firefox Developer
- OS: OSX
- Provided sample code: No
- Provided link: No