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

How to refresh level 0 node in Tree?

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.0.2
    • Fix Version/s: None
    • Component/s: Components
    • Labels:

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: