ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
minimise White Space in Grid (Padding)
Title:
B
I
{code}
?
Hello, I have a working existing grid (Version 6.0) but I am attempting to lower the amount of white space in the grid. I have tried to use the CssClass property for each column in my grid like this: new Column { Bind="Number", CssClass = "paddingTest", Width = 170}, .paddingTest { padding:0px; } Even with this change, there is still a good amount of white space above & below the items in the grid cell. I have also tried this: .awe-row td { padding: 0px 0px 0px 1px; } And there is still lots of white space above & below cell items. I am attempting to condense the amount of space in grid so that users can see more data without as much scrolling. How can I reduce this white space in the grid?
Save Changes
Cancel
eliawesome
asked at 19 Mar 2019
Answers
B
I
{code}
?
you can use this css: .awe-row td { padding: 0; } .awe-row { line-height: 1; } however the row height will also depend on the content of the cells, if at least one cell has something that will expand the cell, the entire will grow as well
Save Changes
Cancel
Omu
answered at 19 Mar 2019
Works great, thanks!!
at 19 Mar 2019
eliawesome
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK