Announcement

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

    ComboBoxItem's PickList formatting is NOT working

    Hello,

    I'm trying to utilize ComboBox's pick list formatting feature. I'm following exactly the example from the showcase:
    http://www.smartclient.com/smartgwt/showcase/#styled_combobox_category

    I want to have something like "Custom" combo box.

    So I put this combo box into a form, that has some FormDataSource and combo box has its own OptionDataSource.

    My problem is, that combo box cell formatter works ONLY if combo box's name (which is combobox form item's name) matches a name of a field from OptionDataSource. If my combobox form item's name is equal to a name of a field from FormDataSource (which is correct behavior) combo box pick list formatting is NOT working (format method not called at all) !!!

    Any suggestions why is this and how to work around it ?

    Best Regards,
    paco

    #2
    I suppose by some reason ComboBoxItem overwrites my custom cellFormatter()...

    Do you know why and when this can happen ?

    Comment

    Working...
    X