Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Cell Hilites / Highlights 1-Pixel Gap Question

    Hi everyone. We need your help and ingenuity....

    We have a request to add a 1-pixel gap between cells with hilites (highlights). By default, this is what the SmartClient ListGrid does:

    Click image for larger version

Name:	2016-12-08_9-10-59.png
Views:	40
Size:	29.9 KB
ID:	241763

    Source: http://www.smartclient.com/smartclie...finedHilitesFS
    (you'll have to configure it to do the yellow hilites like what we did in the screenshot above)

    Of course, the easiest way to achieve this is simply change the cellspacing of the table from “0” to “1”.

    Click image for larger version

Name:	2016-12-08_9-15-37.png
Views:	24
Size:	18.2 KB
ID:	241764

    But, we have a conflicting requesting of needing to achieve the 1-pixel gap request without eating up the space of the other cells (financial folks want to see as much information as they can per screen). Keep in mind that hilites in the ListGrid inlines this background color at run-time and applies it to the cell (td) itself.

    Click image for larger version

Name:	2016-12-08_9-16-52.png
Views:	42
Size:	44.8 KB
ID:	241765

    Does anyone know how to do what we are trying to achieve? Any help would be greatly appreciated.

    Thanks in advance!


    #2
    You could apply border or padding, or use another CSS technique, via Hilite.setCssText()

    Comment

    Working...
    X