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

Treeitem 'open' attribute in a template has no affect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 6.0.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      When building a tree using the MVVM template, like:

      <tree id="categoryTree" model="@load(vm.categoryModel)" rows="12">
      <treecols>
      <treecol label="Category title" />
      <treecol label="Type" />
      <treecol label="Selectable" />
      </treecols>
      <template name="model" var="c">
      <treeitem open="true">
      <treerow>
      <treecell>
      <a label="@load(c.data.title)" onClick="@command('onClickTitle',categoryID=self.data.ID)"/>
      </treecell>
      <treecell label="@load(c.data.typeTitle)" />
      <treecell label="@load(c.data.selectable)" />
      </treerow>
      </treeitem>
      </template>
      </tree>

      ... then setting the Treeitem open attribute to 'true' has no affect. I'm presuming that this is a bug.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: