Comments (1)
Diving a bit into this it seems the height of the .dt-scrollable
element is fixed to 40vw
in style.css
, so 40% of vertical window. It doesn't make any sense to base the height of an element on the viewport width.
My solution for for example the General Ledger in ERPnext is to set
.dt-scrollable {
height: calc(100vh - 450px);
This is still not ideal as the 450px might not be the same for every situation but at least for my General Ledger in ERPnext this works.
from datatable.
Related Issues (20)
- Broken cell layout
- bug: Not Equals filter not working
- bug: Scroll disappears with no data making column filter inaccessible
- Crash on first example HOT 1
- feat: string exact match filter
- datatable.refresh() takes more than 10x as long to run than rebuilding the table from scratch
- On RTL View, Resizing columns work in reverse
- Add option to provide translated labels HOT 1
- Add or append by columns
- fix: allow resizing datatable serial number column
- Does this have a pagination component? HOT 2
- sticky columns on report view HOT 5
- feat: string not match filter
- How to disable dragging column? HOT 1
- I want to add a row with one column.
- Usability enhancements to the reports framework HOT 2
- incorrect arg for formatter during filters
- row index remains checked after refreshing datatable
- Sortable property on Column doesn't disable sorting options on UI HOT 2
- General Ledger view : column width resize behaves erratic.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datatable.