Announcement

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

    ComoboxItem and missing value fetching

    Hello,

    when a ComboboxItem have an OptionDataSource, SmartGWT will fetch the record from the OptionDataSource, when a value is set for the ComboboxItem.

    When the record is fetched, I can access the record via getSelectedRecord. Before the record is fetched getSelectedRecord returns null.

    Is there a handler which is called, when the record is fetched and is accessable via getSelectedRecord?

    Is there another way to add some functionality when the record is available.

    In my case, I want to set the hint for the ComboboxItem with additional data from the record.

    Regards

    Peter

    #2
    Hello,

    can you please give me a short answer.
    "No" is ok for me. Then I have to look for an other solution.

    Thanks

    Peter

    Comment


      #3
      Did you already try ComboBoxItem.addDataArrivedHandler(...)?
      It's actually the first method in the JavaDoc for ComboBoxItem :)

      Best regards,
      Blama

      Comment


        #4
        Yes, I have, but the DataArrivedHandler isn't called, when SmartGWT fetch the missing value.

        It is called only when the f´data for the picklist are fetched.

        Regards

        Peter

        Comment

        Working...
        X