SmartClient Version: v9.1p_2014-08-29/Pro Deployment (built 2014-08-29)
I have a problem with the remove records field of my listgrids when I try to set a cellPadding on them.
I have tried setting both the cellPadding (via JS) and via CSS. Both cases the remove icon is clipped on the right side.
I have noticed that when I add a cell padding of 5, the WIDTH of the div container around the image shrinks from 16 to 11 px?
This is what the generated HTML for the remove cell looks like:
Without Cell Padding:
With Cell Padding 5:
Do you have any solution to this?
I have a problem with the remove records field of my listgrids when I try to set a cellPadding on them.
I have tried setting both the cellPadding (via JS) and via CSS. Both cases the remove icon is clipped on the right side.
I have noticed that when I add a cell padding of 5, the WIDTH of the div container around the image shrinks from 16 to 11 px?
This is what the generated HTML for the remove cell looks like:
Without Cell Padding:
Code:
<td class="cell" height="26" align="center" style="padding-top: 0px; padding-bottom: 0px; width: 20px; overflow: hidden;"> <div style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;[b]WIDTH:16px;[/b]" cellclipdiv="true" role="presentation"> <img width="16" border="0" align="TEXTTOP" draggable="true" suppress="TRUE" src="http://127.0.0.1:8888/forecast/sc/skins/Forecast/images/actions/remove.png"> </div> </td>
Code:
<td class="cell" height="26" align="center" style="padding-top: 0px; padding-bottom: 0px; width: 21px; overflow: hidden;"> <div style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;[b]WIDTH:11px;[/b]" cellclipdiv="true" role="presentation"> <img width="16" border="0" align="TEXTTOP" draggable="true" suppress="TRUE" src="http://127.0.0.1:8888/forecast/sc/skins/Forecast/images/actions/remove.png"> </div> </td>
Comment