0

How to implement dynamic tree model using templete ?

asked 2014-06-09 13:32:11 +0800

sitansu gravatar image sitansu
2254 13
http://java91.blogspot.in...

updated 2014-06-09 13:51:46 +0800

Hi there ,

I want to create dynamic tree model somthing like this screen shot :

image description

But I am trying to create dynamic tree model somthing like this zul but i am unable to populate data in treecell .

Here's zul:

                       <tree model="@load(vm.abcdTreeModel)"
                                selectedItem="@bind(vm.selectedAbcdTreeNode)"
                                sizedByContent="true" droppable="true" width="100%" vflex="1"
                                hflex="1" >
                                <template name="model" var="node">
                                    <treeitem open="@bind(node.open)">
                                        <treerow>
                                            <treecell
                                                label="@bind(node.data.name)" sclass="field-label"
                                                 />
                                        </treerow>
                                    </treeitem>
                                </template>
                            </tree>

Can anyone have any demo dynamic tree model to populate data please share ...............

Thanks

sitansu

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-06-09 15:09:25 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2599 2 8
http://emrpms.blogspot.in...

Check this link

link publish delete flag offensive edit

Comments

Thanks @Senthilchettyin

sitansu ( 2014-06-10 14:26:13 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-06-09 13:32:11 +0800

Seen: 14 times

Last updated: Jun 09 '14