-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi I am Dispalying ListHeader Dynamically By following code
<listhead > <listheader forEach="${vm.columns}" > <label value="${each}" /> </listheader> </listhead>
Can it is possible i can load again the forEach variable on Notifychange. In Java Class i am doing Like this.
Class Level variables boolean showPopup = false; String[] columns = new String[] { "Process", "Refrence", "Status" }; @Command("renderedUserSelection") @NotifyChange("*") public void renderedUserSelection() { columns = new String[] { "Test1 ", "Test2 ", "Test3 " }; showPopup = false; }
Thanks Vincentjian ,
It worked for me i am trying some more thing if i will get any issue i will ask you
thanks for ur support
Hi sjoshi,
You should put children binding in <listhead> and generate multiple <listheader> by template as follows:
<listhead children="@load(vm.list)"> <template name="children" var="node"> <listheader label="@load(node)" ></listheader> </template> </listhead>
Hi Thanks for ur reply...But when I am doing like this
<reorderListbox model="@load(vm.processDataModel)" emptyMessage=" Emply List"> <listhead> <listheader children="@load(vm.list)"> <template name="children" var="node"> <label value="@load(node)" /> </template> </listheader> </listhead>
As mentioned in this post Here
Only One List Header is display which show all list header label in sigle header.
Do u know how can i resolve this issue
According to Zk it is not possible ...
But Still i did not get any solution to Show Dynamc Headers and change according t me
Asked: 2012-08-19 09:54:59 +0800
Seen: 114 times
Last updated: Aug 20 '12