Announcement

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

    PickTreeMenu.setCanSelectParentItems(false) not work

    try to recompile the ShowCase
    Code:
     com.smartgwt.sample.showcase.client.combobox.PickTreeFieldSampl.java
    with the code
    Code:
    categoryItem.setCanSelectParentItems(false);    (at line 72)...
    Effectively the parentItems arn't selectable, but the leaves aren't selectable too

    The "Office Paper Products" -> "Calculator Rolls" -> "Adding Machine/calculator Rol" is a leaf (in fact it display "no sub categories"), but it isn't selectable.

    (idem in
    Code:
    com.smartgwt.sample.showcase.client.menu.MenuTreeBindingSample.java
    with the code
    Code:
    mCategory.setCanSelectParentItems(false); (added at line 62)
    )

    [SmartGWT version 2.2 - Iexplorer 8.0]
Working...
X