Commercial consulting requests have a guaranteed response time.
We can deliver a turn key solution or contribute to your project
For fast and deep dive into framework features to shift your team productivity.
Experts in Enterprise software
Creators of the CUBA Platform
Established in 2008
Why does the text in data grid cell not centered vertically when i reduce the height of row? I have set the padding to 0 in style.csss
SCSS file : .helium .data-grid-planner .v-grid .v-grid-row td{ text-align: center; border-right: 0.5px solid #e8edec ; height: 20px; font-size: 10px ; margin: 0; padding: 0; }
Hi,
Set line-height to the same value as height. Also, pay attention that row height must be defined either using the bodyRowHeight attribute via XML or setBodyRowHeight() via Java API instead of using CSS.
line-height
bodyRowHeight
setBodyRowHeight()
Regards, Gleb
Alright, it’s working, thank you for your help. Regards