Small columns / Image cells

Dear Dhtmlx Support,

I was curious to know if its possible to eliminate the small spacing/indent before images/text appears in each cell or header. I would prefer images to appear without a small white space to the left of them. Also I have some very small columns where the header text would fit, but because of the small indent, the text gets cut off (unless of course you expand it).

I apologize if this is in the documentation … I could not find it.

I very much appreciate your time and assistance,


Most probably issue caused by the padding assigned to header cells.
You can fully remove such padding at dhtmlxgrid.css
div.gridbox table.hdr td {
border: 1px solid;
border-color : white Gray Gray white;
text-align: center;
padding:5px 0px 5px 0px ; // <= here it is !!!

Or use 3rd parameter of setHeader command as

grid.setHeader(“small,others…”,null,[“padding:0px; margin:0px;”])