-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi All,
I have an accordion tabbox, each tabpanel contails a list box which is bound using a view model method call:
<tabpanels children="@bind(vm.topLevelNav)">
<template name="children" var="parent">
<tabpanel>
<listbox children="@bind(vm.getChildNav(parent.hierId))">
<template name="children" var="navItem">
<listitem>
<listcell label="@bind(navItem.name)"/>
</listitem>
</template>
</listbox>
</tabpanel>
</template>
</tabpanels>
How do I update only the listbox using the model ? If I do a NotifyChange("topLevelNav"), it refreshes but resets the accordion to its orginal state (top tab expanded) which is not what I want.
Any help appreciated.
Thanks.
Hi Justin,
this can be done like using BindUtils.postNotifyChange(...) as in this example here on ZK fiddle
Robert
Asked: 2013-05-13 08:36:33 +0800
Seen: 37 times
Last updated: May 22 '13