Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1371

How to refresh level 0 node in Tree?

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.0.2
    • Components

      Hi,

      After single/some data has been changed, I can refresh specific node(s) in Tree by using:
      org.zkoss.zul.AbstractTreeModel.
      public void fireEvent(int evtType, int[] path, int indexFrom, int indexTo)
      but this required parent node.

      In our case, sometimes we need also to refresh only specific level-0 (root) nodes.

      Do you have already some kind solution to handle this?

      If you don't, can you please provide a mechanism to support this case.
      Or can you at least open this method:
      org.zkoss.zul.Tree.
      private void renderChangedItem(Treeitem item, Object node){
      as protected/public ?

      Regards,
      Henry Girsang

            Unassigned Unassigned
            ryg78 ryg78
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: