Forms Builder-hierarchical tree(expanding and collapsing nodes)
hi friends,
can anyone help me with populating my hierarchical tree form by using codes for collapsing and expanding?
for instance when_button_pressed:
tree_control.expand_all(tree_control.v_item_name); //this is for expanding all the nodes in the tree structure
well, i have an sql statement in my record group which in turn defines the structure of the hierarchical tree.
Is it possible to just use the codes 'tree_control.expand_all(tree_control.v_item_name);' like that in the when-button-pressed trigger?
Thanks for any help :)
Hi
can anyone help me with populating my hierarchical tree form by using codes for collapsing and expanding?
Pls have a look here ....
Hope this helps...
Regards,
Amatu Allah.
Similar Messages
-
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 -
How to call forms using Hierarchical Tree in Forms 10g?
I know how to call forms from menu that attached to a top form.
I would like to call forms using Hierarchical Tree. Does any one know how where I can find some instructions on using Hierarcical Tree to call other forms? Any discussion is welcome. Thanks.Thanks to Francois.
The exampe with clear instructions and I can build tree that calls forms now.
I add a OPEN_FORM statement in WHEN-TREE-NODE-ACTIVATED trigger
Declare
LN$I Pls_integer ;
Begin
:Ctrl.Node_Activated := Ftree.Get_Tree_Node_Property('BL_TREE.MENU', :SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE) ;
If :Ctrl.Node_Activated IS NOT NULL Then
Set_Alert_Property( 'AL_CALL_FORM', ALERT_MESSAGE_TEXT, 'Calling module : ' || :Ctrl.Node_Activated ) ;
LN$I := Show_Alert( 'AL_CALL_FORM' ) ;
open_form(:Ctrl.Node_Activated);
End if ;
End ;
Or call physical form path by:
open_form('c:\tree\'||:Ctrl.Node_Activated ||'.fmx');
I enter the VALUE of MENU as the Form fmx name and it works very well.
Thanks so much. -
Connect by prior working in sql but not in forms 10g hierarchical tree
Hello Friends,
I have the following connect by prior example which is working in sql command prompt but not in Forms 10g hierarchical tree item type. Can you please let me know why ?
configuration: Forms 10g patchset 10.1.2.0.2 and oracle 11g database on windows 7
SQL> SELECT 1 InitialState,
2 level Depth,
3 labeller NodeLabel,
4 NULL NodeIcon,
5 to_char(reportno) NodeValue
6 FROM reports where formname = 'billinin.fmx' or reportno > 9999
7 start with reportno > 9999
8 CONNECT BY PRIOR reportno = labelno
9 /
INITIALSTATE DEPTH NODELABEL N NODEVALUE
1 1 FIRST 10000
1 2 report1 UD Label 1
1 2 report2 UD Label 2
1 2 report3 UD Label 3
1 1 SECOND 10001
1 1 THIRD 10002
If I write this command in forms hierarchical tree, then it is working, why not the above code ?
SQL> SELECT 1 InitialState,
2 level Depth,
3 labeller NodeLabel,
4 NULL NodeIcon,
5 to_char(reportno) NodeValue
6 FROM reports
7 start with reportno > 9999
8 CONNECT BY PRIOR reportno = labelnoThanks Room,
This command worked ! I will put the sample working code here. It will help you to filter the records in a tree in sql command prompt as well as in forms hierarchical tree 10g.
SELECT 1 InitialState,
level Depth,
labeller NodeLabel,
NULL NodeIcon,
to_char(reportno) NodeValue
FROM reports
start with reportno > 9999
CONNECT BY PRIOR reportno = labelno
AND FORMNAME = :reports.testitem -
Expand and Collpase nodes in ADF Pivot table
Hi,
I am looking for a code to Expand and Collapse all drilldown programmatically in adf pivot table.
I have only one level of drill down that display sub total.I have the same doubt. I need expand and collapse all nodes in ADF Pivot table. anybody Here?
-
Adding a link to expand and collapse all DHTML drop downs
Hi, can anyone help me adapt the "Skinny on Skins" example "Add a Toolbar button to expand and collapse all DHTML drop downs" so that it will work with just a simple HTML link in RH8, instead of being attached to a custom skin button?
The example looks like this:
Step 1. Open the Skins Editor for the skin where you want to add the button.
Step 2. After the preview loads into the window, ensure that the Toolbar tab has focus, then click the plus symbol. The Custom Toolbar Item dialog should display.
Step 3. Type the Item Name (This is simply an internal reference for the button).
Step 4. Type the Text (This is the text that will be seen by the end user. The field must contain something. So if you don't want any verbiage to display for your toolbar item, simply type a space.)
Step 5. Choose your Image Options, then click the Action tab.
Step 6. Click the JavaScript option button.
Step 7. Enter the following code in the OnClick field:
javascript:toggle()
Step 8. In the JavaScript area, ensure the Inline JavaScript option button is selected, then click the edit (Pencil) icon located to the right.
Step 9. Enter the following code in the Inline JavaScript dialog
var show = "false";
function toggle() {
parent.frames[1].bsscright.focus();
var arrayofDivs = parent.frames[1].bsscright.document.all.tags('DIV');
if (show == "false") {
for (x=0;x<arrayofDivs.length;x++) { arrayofDivs[x].style.display = "block";}
show = "true";}
else {
for (x=0;x<arrayofDivs.length;x++) { arrayofDivs[x].style.display = "none"; }
show = "false"; }
Step 10. Click the OK button to close the Inline JavaScript dialog.
Step 11. Click the OK button to close the Custom Toolbar Item dialog.
Step 12. Click the OK button to close the Skin Editor.
Step 13. Generate WebHelp via File > Generate > WebHelp and ensure that you have the new button selected with a check mark. This will probably require stepping through some screens to see the place where you can select it.
Many thanks
JonathanHi again
I want to use it in the header of one of my Master Pages, so it will only be created/maintained once. Not all my pages have drop downs in so rather than have a toolbar button available for every page, I was trying to be a bit cuter by having two Master Pages - one for normal pages and one for pages with drop downs in.
I'm no javascript expert so I'll see if one of my developers can help.
Thanks anyway
Jonathan -
How to perform expand and collapse operation on click of link or button
Hi
Is there anyway by which i can perform expand and collapse operation over a table on click of a command link or button without using show details component.
Is there any other alternative to show detail.
I do not want to use show detail because of the following reason.
I have got a page where in i pass some parameters to the URL based on which details get displayed on the page.
Now when i pass a parameter, change the parameter, once again send the previously used parameter(i,e the parameter that i passed initially), values in the table under show detail do not show any change in values.
Once i pass values which i have already passed, values in the table under show detail component do not refreshed.
If anyone has encountered with similar situation, then please post me reply's as to how you could over come the problem??Hi
Perhaps you could use an on-demand application process instead - you can specify these in the URL.
The URL syntax (for your link) would be like...
f?p=application_id:page_id:session:APPLICATION_PROCESS=process_idIs this what you mean?
Cheers
Ben -
Expand and Collapse(+/-) option in a Matrix SQL Reporting Services 2008
Hello All,
I am having Expand and Collapse(+/-) option in a Matrix SQL Reporting Services 2008. It's not working when it is havnig a Row Group and Column Group.
Does reporting services has this flexibulity?? It's working fine if it's only have a Row Group an it's not working if it is having Row and a Column Group. Can any one suggest how to work aroung with this.
any help much appriciated.
Thanks & Regards,
Jeevan Dasari.
DasariDrill-down feature is a basic requirement, it is concluded in Reporting service from SSRS2000 to SSRS2008 R2, To
your scenario I think the root cause is relevant to your incorrect steps. Please follow the steps below and then give the feedback:
1. Right-click the child groups in the
Row Groups panel which is at the left-bottom of the BIDS, and then select
Group Properties…
2.
Switch to Visibility tab, and then select
Hide Radio-button, click the checkbox of Display can be toggled by this report item.
3.
Then select the parent group datafield in the drop-down list.
4.
Click OK.
Thanks,
Challen Fu
Challen Fu [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
How to create PDF with Form Builder (T-Code:SPF) and how to use it?
How to create PDF with Form Builder (T-Code:SPF) and how to use it? Is there anyone can show me some doc. or PA material ? << removed >> Thank you very much!!
Edited by: Rob Burbank on Nov 11, 2010 1:04 PMPDF forms also known as Adobe From or Interactive Forms.
Check this link -
Interactive Forms
REG:ADOBE FORM
Adobe forms
Regards,
Amit -
Can please tell me how to implement expand and collapse table row data?
i am trying implement expand and collapse table row data but i do not get any ideas..can please any one help me its an urgent requirement
Yes, we can.
I think the best place for you to start for this is the NI Developer Zone. I recommend beginning with these tutorials I found by searching on "data log rio". There were more than just these few that might be relevant to your project but I'll leave that for you to decide.
NI Compact RIO Setup and Services -> http://zone.ni.com/devzone/cda/tut/p/id/11394
Getting Started with CompactRIO - Logging Data to Disk -> http://zone.ni.com/devzone/cda/tut/p/id/11198
Getting Started with CompactRIO - Performing Basic Control -> http://zone.ni.com/devzone/cda/tut/p/id/11197
These will probably give you links to more topics/tutorials/examples that can help you design and implement your target system.
Jason
Wire Warrior
Behold the power of LabVIEW as my army of Roomba minions streaks across the floor! -
Expand and collapse button in maintenance view
hi all,
i want help for functionality of expand and collapse buttons present there in maintenance view. delimit button is also there what is the functionality for these buttons.
u ppl can see these buttons while enetering values in standarad maintenance view V_T510
my requirement is to create same buttons and their working in user defined maintenance view.Hi Chavi,
check the PDF document
Module Poolo tuorials
regs,
Hema sundar. -
How to expand and collapse af:showDetailItem in keyboard Tab navigation
i would like to expand and collapse <af:showDetailItem/> by keyboard tab navigation. is there any default functionality is available to achieve it.
ThanksHi,
can you try with below config in your web.xml. It specifies where to store the view state of your application
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>regards,
Rajan -
Drill down expand and collapse feature not available Crystal Reports Desig
Hi,
Am I right in my understanding that drill down feature opens in a new tab and it cannot be made expand and collapse even using JRC.
Please advise & thank you
SelviHi Slevi,
You are right with the understanding of the Drill down function. To have a drill down function available the minimum requirement is have at least a single group in the report.
When we have a group with some underlying data and then when we would like to see data for a particular group, we can see a u201Cmagnifying glassu201D symbol which indicates that there is data for this group and we can use the Drill down function.
When you drill on a particular group, the data for that group is shown in a new tab.
I hope this provides some information about the Drill down function used in Crystal Reports.
Regards,
Prashant Saduwale. -
How to create labeled table of Content with expand and collapse
Hi All,
Can somebody help me how to create labeled table of Content with expand and collapse as example given below:
User1
Template1
Template2
User2
+
User3
Template1
Template2
Like when we see expand (+) and collapse (-) button when we click on 'about this page' link.
Thanks
BhupendraHi,
Tou can use Table inside table to show the details this way but I'm not sure about Expand/Collapse.
Expand/Collapse are part of HGRID.
I think we can develop this functionality with little manipulation.
Regards,
Reetesh Sharma
Edited by: Reetesh Sharma on Jun 28, 2010 4:56 AM -
Is it possible to make the TOC expand and collapse icons larger?
OR to have the TOC expanding and collapsing by usage of a self made buttons?
You can use graphics that are slightly taller, but not wider.
If you go to this page and take a look at the example named Supply Chain Management, you will see that I have used a different TOC expand image that is slightly taller:
http://www.infosemantics.com.au/portfolio
I had originally tried to use a larger image but it appears that Captivate limits the width.
You can use the On Success action of a button to assign the value of the cpCmndTOCVisible system variable to 1 or 0 to open or close the TOC. You can create a toggle action using a Standard or Conditional action to make the same button alternately open or close the TOC each time it is clicked.
Maybe you are looking for
-
Can I use Pages with more than one user?
Hi, I recently purchased Pages and want to be able to use it with two different users (one personal, one business). Is this possible? If so, how? I have no problem using it with the user I purchased it with, but my business user does not the option f
-
Dear SAP Guru's My user creat a Service order with account assignment K( cost centre), In condition we maintain discount 5% on GROSS (RA01). When we go to the order and click on condition tab, then net price is reduced 5%, whenever u click price is
-
Dynamic Date (from to) to Archive Workitem
Hi, I would like to kown if is possible create a variant with dynamic date in field End Date? I´m trying this, but when I select a dynamic date -180 days to system puts the date on the first field, but I would like to have the End Date filled from 01
-
I NEED select ..... for all entries for this logic
From table RBDRSEG, we need to pick up the field RBDRSEG-MATNR where RBDRSEG- RBLNR= RBKP-BELNR. If the program does not find any data then it can pick up the material id field from EKPO-MATNR for all the invoices picked up during the processing.
-
Hello, For some reason I cannot open a matlab file. The file has been ftp'd and is called "Failed MAT file.zip" I can open other .mat files just not this particular one. I am using DIadem 2012 SP1. When I load the data into the data portal it says