Announcement

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

    Hilites in select Item

    <smartgwt.version>12.0-p20191102</smartgwt.version>

    I am trying to use Hilites in selectItem:

    final ListGrid pickListProps = new ListGrid();
    pickListProps.setCanHover(true);
    pickListProps.setShowHover(true);
    pickListProps.setLeaveScrollbarGap(false);
    pickListProps.setShowHeader(false);
    Hilite[] hilites = new Hilite[] {
    new Hilite() {{
    setFieldNames(DSConst.Frame.NAME);
    setTextColor("blue");
    setBackgroundColor("red");

    }}
    };
    pickListProps.setHilites(hilites);
    setPickListProperties(pickListProps);

    But the textcolor and background color in rows of selectItem is not getting reflected.
    is something which i am missing due to which tectColor and background color are not reflected?

    as in attachment we can see textColor is black
    Attached Files

    #2
    Please read the documentation for Hilites. They work by matching certain records by criteria. You have not defined any criteria.

    Comment

    Working...
    X