TreeNode Expandable
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
TreeNode Expandable
Subscribe
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 1/31/2009 11:23:48 AM

Group: Coolite Premium Member & Early Adopter
Hello,

Question regarding TreeNodes and the Expandable property. Would there be any way to have Expandable set as ThreeStateBool.True and render as the folder without the expand icon showing if it has no children?

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/5/2010 10:10:13 AM
Posts: 7,853,
Posted 2/1/2009 4:30:54 AM

Group: Core Development Team
Hi Timothy,

Can you provide more details? What nodes used: static or async? It is better to know what targets you want to reach.
Thanks
 

--
Vladimir Shcheglov
Coolite Inc.
Development Team
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 2/1/2009 6:08:06 AM

Group: Coolite Premium Member & Early Adopter
Hello vlad,

They are static nodes.

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/5/2010 10:10:13 AM
Posts: 7,853,
Posted 2/1/2009 7:18:36 AM

Group: Core Development Team
Hi Timothy,

May be I misunderstood you but if you don't set Leaf=true for TreeNode then it will be looked as folder and without expandable icon. Why need to set Expandable=ThreeStateBool.True?



--
Vladimir Shcheglov
Coolite Inc.
Development Team
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 2/1/2009 7:20:36 AM

Group: Coolite Premium Member & Early Adopter
Hello vlad,

Thanks for the quick response vlad. I would like the node with no children to look like the nodes that have children, because eventually it will have children. I don't want it to look like the file, consider it as a directory in your file explorer with no folders below it.

Hope that makes sense?

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/5/2010 10:10:13 AM
Posts: 7,853,
Posted 2/1/2009 7:42:18 AM

Group: Core Development Team
Hi Timothy,

Now you can set image only. For example if you want to have standart folder image then

<ext:TreeNode Text="Empty Folder" Cls="x-tree-node-collapsed ">
</ext:TreeNode> 

I think it will be useful to have something like AsEmptyFolder="true" for TreeNode. We will investigate it


--
Vladimir Shcheglov
Coolite Inc.
Development Team
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 2/1/2009 7:44:48 AM

Group: Coolite Premium Member & Early Adopter
Thanks vlad, please update this thread if anything progresses with a new property.

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 9/20/2009 8:38:56 AM
Posts: 326,
Posted 4/15/2009 9:49:38 AM

Group: Coolite Early Adopter
 Any progress on this yet? Having a node with an expand symbol, without any children, is definitely useful in cases where you want to show the node may have children and allow clicking on the expand symbol.  I did notice this seems to be possible in one of the TreePanel Ajax examples, but can't figure out how to implement it.  In standard windows controls, the property is called .ContentsUnknown.  If set to True, it renders an expand symbol, regardless if it has children or not.
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -5:00, Time now is 1:21pm