View Full Version : Is it possible to adjust the spacing between the columns in a grid?

10 Dec 2010, 9:58 AM
I would like use less space between the columns and could not find any documentation on how to do it.
Can someone help me?

11 Dec 2010, 10:55 AM
The cells have a padding assigned. Take a look at the cells with firebug and you will see. You can also override it to your specific needs with firebug.

3 Jan 2011, 3:09 PM
I used firebug and inspected the elements.
I found the padding.
But I could not figure out which style to override.

I want the spacing between the columns to be equal for the entire grid.

4 Jan 2011, 10:25 AM
I tried.

.x-grid3-td-mycolumnname1 div {
padding: 0px;

But it only works for 1 column.
All other columns get ignored if add the following.

.x-grid3-td-mycolumnname2 div {
padding: 0px;

.x-grid3-td-mycolumnname3 div {
padding: 0px;

I am totally lost here and would greatly appreciate any pointers.