Comments (4)
Hello @Tzvetelin88 - If I understand correctly the concern here is that when there are fewer rows than the height of the datagrid there is white space below the rows. Please let me know if I am mistaken.
This is working as intended. When a datagrid has pagination declared we can't know how many rows there will be on the last page. A UX choice was made to fix the height of the datagrid so that UI's avoided a vertical jumping effect on the page content when the number of rows was less than the rows / page value and there is pagination enabled. In the case above, this also applies when a user filters the data set.
I'm going to close this as no fix needed b/c I believe the datagrid is working as intended.
from clarity.
Hello @hippee-lee , yes this is right - when there are fewer rows than the height of the datagrid there is white space below the rows.
Is there a way to by-pass fixed height and eliminate white space - based on the rows(like the example above), even if we sacrifice jumping effect?
from clarity.
I also notice another issue with this. If we have 250+ items for example, and I do items per page to be 50,
and go thru the pages, again white space is appearing, even that we have more pages with items. Will try to make sandbox demo for it.
Another example with 20 items per page:
from clarity.
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.
from clarity.
Related Issues (20)
- [clr-datagrid] Details pane throws change detection error HOT 2
- [clr-datagrid] focus issues when details pane is opened HOT 4
- add reset all filter option in datatable HOT 4
- The detailButton of Clarity Datagrid Row is with wrong type in the datagrid-row.d.ts HOT 3
- Source map error and webpack 5 HOT 1
- cannot work updateFilterValue with custom filters HOT 4
- Icon 'script-execute' and 'script-schedule' not in icon/index.js HOT 4
- Attaching change event listener on Toggle
- Documentation for read-only missing HOT 2
- Read-only attribute not working for select-input component HOT 2
- Lack of badge for namespaces icon HOT 4
- Datagrid pageSize is not saved to localestore after page refresh HOT 2
- clrDgSelected on DatagridRow behaves inconsistently HOT 5
- Publish as Ivy Distribution HOT 3
- clr-ui uncompiled sass variable HOT 1
- Website navigation child of section expands a section on first click HOT 1
- CdsDropdown throws an exception in jsdom HOT 3
- Possible missing @clr/core 4.0.16? HOT 1
- Why is this repository archived?
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 clarity.