Announcement

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

    Selectitem with listgrid: Does not launch getCellCSSText method

    Passage from my code:

    ...
    SelectItem selectitem = new SelectItem();
    ListGrid pickListProperties = new ListGrid() {
    @Override
    protected String getCellCSSText(ListGridRecord record, int rowNum, int colNum) {
    return "font-weight:bold; color: yellow; background-color: Lightblue; ";
    }
    };
    selectitem.setPickListProperties(pickListProperties);
    ...

    Why, does not trigger getCellCSSText method ?

    SmartGWT 4.0
    Chromium Version 24.0.1312.52 (175374) (linux)
    Last edited by tanas@abv.bg; 17 Oct 2014, 08:31. Reason: for better info

    #2
    Hi Isomorphic,

    this is also happening to me in smartgwt 6.0p power
    is this a bug or is it intended behavior ?

    My code is basically the same as the thread owner and the picklist is not styling. In listgrids everything works fine.

    Thanks

    Comment


      #3
      Properties objects in general may not contain method overrides, only configuration settings. This means it is possible to, for example, install a CellFormatter as another way of applying customized styling to the PickList.

      Comment

      Working...
      X