Topic: mdbTableScroll maxHeight problem
Pandic_AT free asked 5 years ago
Hello, there is a problem with setting maxHeight attribute to scrollable table. This attribute only allows set number, but for example %, vh, calc() don't work. I looked to mdb-table-scroll-directive.ts and saw that maxHeight work only with a number (because of this.maxHeight+'px' in setStyle). If you delete +'px', people can use maxHeight="500px", maxHeight="80%", maxHeight="calc(100vh - 200px)" or anything else, not only number. Same problem is for setting maxWidth. Can you include this change, or better solution, to update? Thanks
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 8.8.1
- Device: pc
- Browser: all
- OS: win10
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 5 years ago
We will take a closer look at that and update the input type.