Tree view in collapsed mode by default
Hello Experts,
Could you please explain how to get a tree view collapsed by default?
My scenario:
When looking for a Marketing Segment, the system displays the result with a tree view in expanded mode, containing all the Profile Sets with their profiles and Target Groups.
I would like to have the tree view in collapsed mode by default with only the Profile Sets displayed. Then, if need I would expand a given Profile Set to display its Profiles and Target Groups.
Component: SEGAS_SEG
View: RTSEG
Thank you very much for your answer.
Best Regards.
Edited by: KenshiroHokuto on Apr 26, 2010 5:15 PM
Edited by: KenshiroHokuto on Apr 26, 2010 5:16 PM
Hi,
Have a look at the context node SEG in the view RTSEG. You will see a method REFRESH. The following lines are responsible for the automatic expansion.
IF search_roundtrip = abap_true AND lv_index < 20.
lr_root->expand_node( ).
ENDIF.
Going by what you say, you will want to comment out these lines. If your component/view is not enhanced, enhance it and redefine this method. Copy the standard code and alter it. You need to alter this code to suit your requirement. For enhancing the component/view, you can find wikis in the CRM WebClient UI section.
Regards,
Arun Prakash
Similar Messages
-
Tree Population in COLLAPSED mode
Hi All,
I have a "hirarchical tree" based on a group ...i am populating the tree using POPULATE TREE procedure but whenever it populates it populates in expanded mode which gives a odd look while populating...so can I populate the tree in COLLAPSED mode?
thanksPut status = -1
for eg:
This query will show the tree as collapsed
select -1,level,ename,null,empno
from emp
connect by prior empno=mgr
start with mgr is null
--(-1 indicates status)
Following query shows expanded
select 1,level,ename,null,empno
from emp
connect by prior empno=mgr
start with mgr is null
Message was edited by:
jeneesh -
Balanced Scorecard overview screen-trees to be displayed in collapse mode
When the user logs into Balanced Scorecard overview screen all the trees are displayed in expanded mode, need to display the trees in collapse mode by default. i.e Only nodes visible should be top level hierarchy nodes. The user should be able to decide which nodes he wants to expand.
Hi RP,
1. 0SEM_C02 can typically be used to store all the initiatives. Please note that initiatives can be linked to Project Systems in SAP R/3 and the project data can be automatically brought over to initiatives. Now it may happen that not all of those initiatives may be dependent on scorecards and there can be scorecard independent initiatives. The business content cube that you mentioned can be used to store and report on such inititives and their links to scorecards if any.
2. What infoobjects to have in the scorecard cube depends upon your requirements and there is not a good or bad choice here. If you choose 0SEM_POSIT as one of the infoobjects, then you can easily access all the measures.
3. The data read from BW or buffer also depends upon your performance requirements. If your situation is such that you must report the latest data in BW all the time, then reading from buffer only will not serve your purpose because the data will be read only from the buffer and not from the cube. In that case, you may have to fill the buffer often to keep the buffer data up to date. If you select read from Bw only, then it will bypass your buffer and for every small request, it will access the infocube(s). This may be performace drag depending upon the size of the data, performance of the related queries etc. If you choose read from buffer/BW with latest time stamp, then it will access BW only if latest data resides there. This may not be a good option if the performace is a prime concern. Ofcourse if you are using BIA, then you can safely read from BW.
Regards
Pravin -
Trying to override the default af:tree expanded and collapsed icons
Hi,
I initially hijacked a thread from 2010 that was vaguely similar to what I need to ask, but a kind forum moderator split my post out to stand on its own merits.
I am trying to override the default af:tree expanded and collapsed icons I am using the following styles for my af:tree but they are not reflecting any thing on my tree with the styleclass orgType.
af|tree.orgType::expanded-icon {
content: url("../images/ac-expand.png");
cursor: default;
af|tree.orgType::collapsed-icon {
content: url("../images/ac-collapsed.png");
cursor: default;
af|tree::expanded-icon {
content: url("../images/folder_open.png");
cursor: default;
af|tree::collapsed-icon {
content: url("../images/folder_close.png");
cursor: default;
After working for long hours I realized that there is some problem with af:tree and treeTable. They are not taking the styles where as for the other components, every thing works fine. Is there any way to achieve the task. Could you suggest any alternative way to do this. Thanks in advance. Your suggestions for this task can really help me and my team a lot.
Regards,
Krishna Sumanth.Hi,
do the icons show without the style class reference used in the skin file? If so, then the style class for this component might be rendered differently for the tree, e.g.
.orgType af|tree ...
Frank -
Hello everyone,
How i can set default view to draft mode in webi XI3.0?
Please answer.
Tnx.For change default view do next 3 steps:
1steps: find viewReport.jsp in
C:\Program Files\Business Objects\Tomcat55\webapps\AnalyticalReporting\viewers\cdz_adv\viewReport.jsp
Edit file with text editor and find
if (strPageMode.equals(""))
strPageMode = objReport.getPaginationMode().toString();
change it to
if (strPageMode.equals(""))
<!-- strPageMode = objReport.getPaginationMode().toString(); -->
strPageMode = "Listing";
2 steps: find viewDocument.jsp
C:\Program Files\Business Objects\Tomcat55\webapps\AnalyticalReporting\viewers\cdz_adv\viewDocument.jsp
Edit file with text editor and find
if (strPageMode.equals(""))
strPageMode = objReport.getPaginationMode().toString();
change it to
if (strPageMode.equals(""))
<!-- strPageMode = objReport.getPaginationMode().toString(); -->
strPageMode = "Listing";
3 step: Restart Tomcat and WebI Processing server
That all.
Andrey -
Tree to be displayed in collapsed mode
Hi All,
I have designed a recursive tree UI element which is assigned to respective context element.
When I display the tree, the first root node gets expanded to the end leaf node showing the depth of the tree.
The requirement is that the tree should be displayed in a complete collapsed mode.
I have set the expanded property to false and the property has children to false.
Could you please let me know how do I achieve the above functionality?
Regards,
Tanveer.Hi,
Sounds like your context node is set to initialize the lead selection, causing your tree to lead select all the way down. If I'm right, in your case, even after you set the expanded property to false, the tree expands itself because of the lead selection. If you set the initializeLeadSelection property of your context node to false, you should be able to control the tree via the expanded property on the nodes. You just need to make sure to lead select the root node.
By the way, the hasChildren property is not used for determining expanded or collapsed. It is used for determining whether or not a node is a leaf.
Hope this helps,
David -
Hello,
I am currently trying to figure out how I can add acustom tree view for attachments to the account overview page. Per defualt it has the standard list for attachments, but I need to replace that with a component where I can "fake" the attachments that are displayed, and which comes in tree view mode as default. The last I think will be pretty easy, but during debugging, I have not yet figured out how the component GS_CM gets its data, so that I can modify it or feed it new data (to documents that do exist in the system, but have no direct link to the account).
Anybody with any knowledge of this? Thanks!
ThomasHello,
I am currently trying to figure out how I can add acustom tree view for attachments to the account overview page. Per defualt it has the standard list for attachments, but I need to replace that with a component where I can "fake" the attachments that are displayed, and which comes in tree view mode as default. The last I think will be pretty easy, but during debugging, I have not yet figured out how the component GS_CM gets its data, so that I can modify it or feed it new data (to documents that do exist in the system, but have no direct link to the account).
Anybody with any knowledge of this? Thanks!
Thomas -
Display data as a tree view on IE5
I want to display data which is parsered by .xsql and use .xsl transfrom to HTML as a tree view(using javascript).
Is there any sample or suggestion will eb grateful.
Regards,
KellyThanks for the backup :-)
A new version of the Tree Tag will be out some time this summer, by the way. It features:
1) The possibility to attach an object to a tree node (getObject(), setObject(...)).
This means you can display more information in the tree than just what is available
on the tree node itself. The information in this attached object can also be displayed.
This attached object can for instance be rendered by Struts's <bean:write ...> tags
2) Client side event listeners.
A new tag will be added that will only evaluate it's body when a node is expanded, collapsed,
selected or unselected. This way you can have a small bit of javascript sent along with the tree html to the browser, when a node is expanded/collapsed or selected/unselected, that for instance reloads the page in another frame in the browser
3) The <tree:tree...> tag will be able to detect selected/unselected nodes by itself, if the select request is sent to the page containing the <tree:tree tag>. In the current version only expands/collapses are detected automatically. This new feature is implemented to support the client side event listeners.
4) Someone asked for no-arg contructors of the TreeNode for use with reflection. They will be added to.
A larger, more detailed manual will probably also be available for a small fee, in addition to the free basic user guide and the free web app. example.
Look out for it ;-)
Jakob Jenkov
http://www.jenkov.com -
How to hide a list from SharePoint tree view pro grammatically.
Hi,
I have enabled tree view for a SharePoint 2013 site pro grammatically.
I want hide some specific lists from that tree view like Documents, Workflow, Task List, Calender
Lists which are created default when we create a site.
How could i do that?I know how to hide Quick launch and Enable Tree view with properties in C#.
My question is
hide some specific lists from that tree view like Documents,
Workflow, Task List, Calender
Lists which are created default when we create a site. -
How to add Icon in Tree View in Forms 6.0 (URGENT..!)
Hello All,
I want to add icons in tree view (hierarchical tree) by using
forms 6.0.
So pls. help me to find out the solution for the same.
thanks
Pradeep
nullPradeep (guest) wrote:
: Hello All,
: I want to add icons in tree view (hierarchical tree) by using
: forms 6.0.
: So pls. help me to find out the solution for the same.
: thanks
: Pradeep
hello pradeep,
for adding icons in the tree, u willhave to look closely to the
data format for the tree.in the data format used for populating
the tree we are supplying 5 fields. the state of the tree node
(expanded or collapsed), the depth of the node w.r.t the parent
node, the node value, the node label(what we see on the tree)
and the node icon which we want to use. for the node icon we
have to provide the entire path of the icon file. that's it.
hope this will solve the problem
null -
Need to create tree-view page.
I'm trying to create a tree-view display using Oracle JDeveloper 10g Release 3, ADF and JSF.
I need to show a tree (folder names) and on a click of the last level folder to show table with File names that are related to the selected folder.
Data is stored in two tables:
1. contains Folder names and hierarchy relations;
2. contains File names.
These tables related by folder ID.
Using ADF Faces Component, I created a 3 level Tree that expends and collapses each level of Folder names but I don't know how to populate the View part (table with File names). Basically, I need to take an ID of the selected row in the Tree and pass it as a parameter to the View table query where clause.Since this is not a hibernate forum i suggest you ask your question about hibernate somewhere else.
-
Tree view not displaying labels
Hi,
I am trying to use the Tree component, the tree view part is
fine I can click on a folder and it expands click on the icon and
it runs the preloader (component) and displays to pic fine. What it
doesn’t do is display the text next to the folder or icon it
is just blank. I have even tried copying the gallery_tree.fla (from
\Flash 8\Samples and Tutorials\Samples\ActionScript\Galleries) and
putting it in to my project with the same problem. So below are the
xml file and the action script.
Any help is appreciated
BP
Note: I am trying to use this in _root.blank_mc.menu3 (which
is a movie clip)
XML file
<?xml version="1.0"?>
<tree>
<node label='Gallery 1'>
<node label='DCP_0730' src="images/DCP_0730.jpg" />
<node label='DCP_0731' src="images/DCP_0731.jpg" />
<node label="DCP_0732" src="images/DCP_0732.jpg" />
<node label="DCP_0733" src="images/DCP_0733.jpg" />
<node label="DCP_0734" src="images/DCP_0734.jpg" />
<node label="DCP_0735" src="images/DCP_0735.jpg" />
<node label="DCP_0736" src="images/DCP_0736.jpg" />
<node label="DCP_0737" src="images/DCP_0737.jpg" />
<node label="DCP_0738" src="images/DCP_0738.jpg" />
<node label="DCP_0739" src="images/DCP_0739.jpg" />
<node label="DCP_0740" src="images/DCP_0740.jpg" />
<node label="DCP_0741" src="images/DCP_0741.jpg" />
<node label="DCP_0742" src="images/DCP_0742.jpg" />
<node label="DCP_0743" src="images/DCP_0743.jpg" />
<node label="DCP_0744" src="images/DCP_0744.jpg" />
<node label="DCP_0745" src="images/DCP_0745.jpg" />
<node label="DCP_0746" src="images/DCP_0746.jpg" />
<node label="DCP_0747" src="images/DCP_0747.jpg" />
</node>
</tree>
Action scriptanyone out there with any sugestions? the problem is in the
action script because it works on the mail time line but not in
_root.blank_mc.menu3 which is were I need it.
Action script below
var my_pb:mx.controls.ProgressBar;
var my_ldr:mx.controls.Loader;
var my_tree:mx.controls.Tree;
my_pb._visible = false;
my_pb.indeterminate = true;
my_pb.setSize(160, 30);
my_pb.source = my_ldr;
my_pb.mode = "polled";
var pbListener
bject = new Object();
pbListener.complete = function(evt
bject) {
evt.target._visible = false;
my_pb.addEventListener("complete", pbListener);
var treeDP_xml:XML = new XML();
treeDP_xml.ignoreWhite = true;
treeDP_xml.onLoad = function(success:Boolean) {
if (success) {
my_tree.dataProvider = this.firstChild;
treeDP_xml.load("gallery_tree.xml");
var treeListener
bject = new Object();
treeListener.change = function(evt
bject) {
var treeNode:XMLNode = evt.target.selectedItem;
if (treeNode.attributes.src != undefined) {
my_pb._visible = true;
my_ldr.load(treeNode.attributes.src);
my_tree.addEventListener("change",treeListener);
stop(); -
APEX 4: template copy function in tree view working as expected?
Not sure if this is the intended design or not (doesn't seem like it should be, to me).
When you are in the edit page screen (4150) - in tree-view mode, you have shared components and templates on the far right. Say you want to copy one, you have the option to right click the template, and select copy. This takes you to the big list of all available templates to copy - page 4003; In my thinking, it should take you straight to the Copy Template page (538) where you can give it a new name - as you have already selected the template you want to copy - as is the case when you use this method to copy anything else.
Ta,
Trentuse this._lockroot=true in your template.
-
Catalog manager not showing the tree view
Hey Everyone
I cannot see the tree view when i login in the catalog manger in the online mode.What could be the reason? I can see only the \ folder but not the shared,system and users folders.I checked even the instance config file and made sure the path was right.
Thankswhat does emctl status dbconsole show?
Hi All,
I have installed 10g in Win 2000. Enterprise manager
was working fine after installation. I restarted the
Oracle Service (DB Service, TNS, iSQL, DBControl)
from services in Control Panel. Database is up and
working fine but the Enterprise Manager is not
working. When I am trying to use the EM through
Internet Explorer, it is not asking for any login and
showing as database as down. I am able to connect to
DB from client PC. Please advice. -
Issue in Tree View Enhancement
Hello Experts,
I have a Tree View and its related Context Node Class. Due to some requirement I need to enhance the same.
I have done the following steps:
1. Enhance the View which eventually enhanced the CTXT class to Z_CTXT as well.
2. I am trying to enhance the Tree View context node( say IBASE in my example).
When I do the same, it is giving me an error saying that
Method CTXT - CREATE_IBASE does not exist.
Just to recheck I went to the parent class of Z_CTXT which is CTXT and found the method was very much there.
Refer standard component ICCMP_IBASE View: IBTreeResultList Context Node: IBASE. My question is related to this context node.
Thanks in advance.
Best Regards,
Vinamra.Hi Vinamra,
When you enhance the view by default CTXT class also will be enhanced, when you enhance the context node then only system will create corresponding method create_"context node name" in your Z_CTXT class.
Did you check Z_CTXT class for the create_ibase method, This class should have added this method with code like this
model = owner->create_model(
class_name = 'ZCLICCMP_IB_IBTREERESULTL_CN00' "cl_crm_ic_ibase_constants=>gc_ibtree_firstlevel_class "#EC NOTEXT
model_id = cl_crm_ic_ibase_constants=>gc_ibtree_node_name ). "#EC NOTEXT
ibasetree ?= model.
Best Regards,
Dharmakasi.
Maybe you are looking for
-
I have installed win7 on mountain lion 10.8.5 and at the begining it seemed to work good but now in the last 2 times I have stayed using Win7 suddenly i got a blue screen I as I could read, it is about memory failure. Does anybody can help me with th
-
IPhone Official Web App Directory?
Has anyone heard about this? Any word on which apps will be included? Apple to launch official iPhone Web applications directory http://www.appleinsider.com/articles/07/10/10/appleto_launch_official_iphone_web_applicationsdirectory.html
-
I am testing a camera to use Tuesday, it's a Sony HVR V1U HD/DVCAM camera. I shot some ftg in DVCAM mode to transfer to FCP3 and FCP3 does not recognize the footage at all, nothing is coming thru. Tried the tape in my old Sony camcorder and it would
-
Is it possible to swap the JServ engine (supports Java Servlet 1.1) that comes with 9iAS with Apache's Tomcat v3.1.2 (which supports Java Servlet 2.2 and JSP 1.1)? Has this been tested or certified by Oracle?
-
Same RFQ for two Vendors.
Dear Experts, I have created a RFQ and in the vendor adress i have given the vendor Number.Now if i want the same RFQ to be sent to two vendors then how can i do it. Kind Regards Sajid