Before I enable the multiline function, my grid looks exactly like those in the samples. However, once I added the line
mygrid.enableMultiline(true), my cell grids wrap around but now all the cell paddings in my grid are gone. Now each cell 's height is literally about 50-60% of the height of my original cell, barely enough to contain the cell contents. What can I do to get multiline functionality AND my original cell padding? Thanks
barely enough to contain the cell contents
In multiline mode, height of cell defined by height of cell content.
You can try to adjust related css rule
dhtmlxgrid.css
div.gridbox table.obj td {
border: 1px solid;
border-color : white Gray Gray white;
font-family:Arial;
font-size:12px;
-moz-user-select:none;
overflow:hidden;
padding-top:0px; //top space
padding-bottom:0px; //bottom space