function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
- Root
- Folder 1
- File 1
- File 2
- Folder 2
- ...
Information about the directory tree is stored in the database:
ID
Parent
Name
IsFolder
Hi,
initially the root tree task i had performed for account and contact relationship through apex:repeat control.The same task you can performed for root directory of any file.Tryout this sample code it may help you.<apex:repeat value="{!nodeList}" var="node"> <li class="closed"><span class="folder" onclick="parentClickCall('{!node.id}');">{!node.name}</span> <ul> <apex:repeat value="{!node.children}" var="child"> <li><span class="file" onclick="childClickCall('{!child.id}');">{!child.name}</span></li> </apex:repeat> </ul> </li></apex:repeat>you can bind the variables with wrapper class functionality in apex code.
Are you talking about tree view???If so,have a look-
http://www.forcetree.com/2011/04/tree-view-in-visualforce-page.html
Hi,
initially the root tree task i had performed for account and contact relationship through apex:repeat control.
The same task you can performed for root directory of any file.Tryout this sample code it may help you.
<apex:repeat value="{!nodeList}" var="node">
<li class="closed"><span class="folder" onclick="parentClickCall('{!node.id}');">{!node.name}</span>
<ul>
<apex:repeat value="{!node.children}" var="child">
<li><span class="file" onclick="childClickCall('{!child.id}');">{!child.name}</span></li>
</apex:repeat>
</ul>
</li>
</apex:repeat>
you can bind the variables with wrapper class functionality in apex code.
Are you talking about tree view???If so,have a look-
http://www.forcetree.com/2011/04/tree-view-in-visualforce-page.html