Announcement

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

    Need just a tiny bit of help with isGroup custom style

    Greetings,

    I'm trying to change the style of the group on DynamicForm. In load_skin.js I've got:

    Code:
        isc.Canvas.changeDefaults("groupLabelDefaults", {
            styleName:"filterGroupLabel"
        })
    Then in a custom css file I've got:
    Code:
    .filterGroupLabel {
        font-family:Verdana,sans-serif; 
        font-size:9px; 
        font-weight:normal; 
        color:#061727;
        background:transparent;
    }
    But the style is overridden by SmartClient, and doesn't reflect my changes. In fact, it looks like there's not style applied to it now (when it is rendered).
    Code:
    <td nowrap="true" valign="center" align="center" style="padding: 5px; background-color: white;" class="filterGroupLabel">Filters</td>
    I'm unable to find any detailed documentation on this. I've looked over the forums, which got me this far, but I'm stuck now. Can somone provide a hint?
    Thanks!
    Stan

    #2
    Yes, there's not enough docs here. Aside from the style, which will successfully change font and other attributes, use groupBorderCSS and groupLabelPadding to control those two options.

    backgroundColor is automatically defaulted to match the backgroundColor of the Canvas, but can be explicitly set via groupLabelBackgroundColor if this goes awry.

    Comment


      #3
      That worked perfectly. Thanks.

      Comment

      Working...
      X