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

Treeitem 'open' attribute in a template has no affect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 6.0.2
    • None

      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.

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

              Created:
              Updated:
              Resolved: