Announcement

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

    Showing a button in the dropdown when the searched record is not presented

    When the searched item is not found in the drop down, I need to show an "Add New" button in the dropdown expansion. The dropdown is a ComboBoxItem (Could have a PickList).
    Is this possible? If so how to Achieve this ? Please provide an example if available.

    #2
    Hi,

    see the ComboBox & Family -> Add on the fly sample in the showcase.
    https://www.smartclient.com/smartgwt/showcase/

    Best regards
    Blama

    Comment


      #3
      Appreciate the reply. To implement the above provided solution I need to use "SelectOtherItem". is there a way to have the same functionality with a ComboBoxItem?
      Last edited by AnutharshaSelvarasa; 21 Feb 2020, 04:42.

      Comment


        #4
        No, you do not need SelectOtherItem. You can simply add a FormItemIcon to have an interface for adding a record always available. If you prefer to have the interface to add a new item appear in the drop-down itself, you could use the specialValues feature.

        Comment

        Working...
        X