Announcement

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

    PickList as TreeGrid

    Is it possible to use TreeGrid as a picker like ListGrid in ComboBoxItem? Are there any examples of this case?

    I would like to have a form item that lets me select only values form TreeGrid. I know that there is a PickTreeItem, but it uses menu-like picker instead of TreeGrid and cannot provide sorting and additional columns like TreeGrid...

    TIA

    #2
    We are also trying to use a Treegrid as PicklistProperties.
    (Treegrid picklistproperties = new TreeGrid());
    But this does not seem to be supported in PicklistProperties?
    Is this possible?

    We are using SmartGwtPower version 2.4.

    Comment


      #3
      One approach is to have a hidden input field on the form and set the node click event on the tree to populate the hidden field. When the form is submitted, the hidden field will have the value that you are looking for.

      Hope this helps,

      Sol

      Comment

      Working...
      X