How to toggle visible true-false for FourColListBoxNodeWidget Column

Hi,
I need to know that whether there is a way by which I can toggle visibility of a column (GenericPanelWithBorderWidget) on click of a button.
Which Interface can be used to do the same?
The code for table and button is given below.
Following is "fr" code for four column table:
type FourColListBoxNodeWidget(kViewRsrcType) : PrimaryResourcePanelWidget(ClassID = kDNDTreeNodeWidgetBoss) {};
resource FourColListBoxNodeWidget(kFourColListBoxElementRsrcID + index_enUS) {
          __FILE__, __LINE__,
          kFiveColListParentWidgetId, kPMRsrcID_None,          // WidgetId, RsrcId
          kBindLeft | kBindRight,                              // Frame binding
          Frame(5, 0, 525, 17),                              // Frame
          kTrue, kTrue,                                                  // Visible, Enabled
          "",                                                                                // Panel name
                    GenericPanelWithBorderWidget (
                              0, kPMRsrcID_None,                    // WidgetId, RsrcId
                              kBindNone,
                              Frame(0,-2,106,17)           // Frame
                              kTrue, kTrue,                              // Visible, Enabled
                                        ColListBoxTextWidget (
                                                  k5ListTW3ID, kPMRsrcID_None,                                                            // WidgetId, RsrcId
                                                  kBindLeft | kBindRight,                                                                                // Frame binding
                                                  Frame(4,3,104,17)                                                                                          // Frame
                                                  kTrue, kTrue, kAlignLeft,kEllipsizeEnd                                        // Visible, Enabled, Ellipsize style
                                        #if CSVER >= 4
                                                  kTrue, //Convert ampersands
                                        #endif
                                                  "",                                                                                                                                   // Initial text
                                                  0,                                                                                                                                   // Associated widget for focus
                                                  kTipsWindowFontId, //kPaletteWindowFontId,                              // default font
                                                  kTipsWindowFontId,//kPaletteWindowSystemScriptHiliteFontId,                                         // for highlight state.
Similarly other 3 columns.
Code for Expand Button
               // Button Expand
                                                            DynamicIconButtonWidget (
                                                                      kExpandButtonWidgetID,                              // fWidgetId
                                                                      kExpandIconPNGIconRsrcID, kIBPluginPluginID,                    // fRsrcId, fRsrcPlugin
                                                                      kBindNone,//kBindLeft | kBindRight,                    // fFrameBinding
                                                                      Frame(450, 37,470,68 )                              // fFrame
                                                                      kTrue,                              // fVisible
                                                                      kTrue,                              // fEnabled
                                                                      //kIconRaisedLook,          // fStyles
                                                                      kADBEIconSuiteButtonType,
                                                                                          IID_IDYNAMICBUTTONOBSERVER,
Regards,
Yogesh Walke

You can try the approach discussed in this post(assuming you are on 11.1.1.5 or higher ) - http://jobinesh.blogspot.com/2011/07/overriding-display-at-run-time.html

Similar Messages

  • "I would like to know how to set the default view for the columns. Somewhere I read it could be done in by music icon under Library.  Can't find it.  Thanks

    "I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it."  Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns.  Trouble is, I can't find a Musi Folder or icon in my user library.
    Any help would be appreiated.  OSX 10.9.2  iTunes version 11.1.5  Thanks!!! CW!

    From the iTunes menu bar try View>Show View Options.  Make sure what you want to see is checked and what you don't is unchecked.  You can do this (may need to do this) for any playlists, your main Library, etc.
    Good luck
    srb

  • How do I set individual properties for a column in report layout at runtime

    How do I set individual properties for a column in report layout at runtime? I need to change this based on a user's input. This is for v10g.
    I need to change either the "Read from File" attribute or the "File Format" attribute for one column based on the user's input. IS this possible?
    Thanks in advance!

    Hi,
    define 2 columns and use format triggers to show the one or the other column.
    Regards
    Rainer

  • How to generate a  number sequence for a column of a Z*table?

    Hi ,
    How to generate a  number sequence for a column of a Z*table?
    plz guide me.
    thanks
    Albert

    1) Use SNRO for defining a number range.
    2) Use FM NUMBER_GET_NEXT for getting the next number with object, sub object etc..
    See one example below.
          CALL FUNCTION 'NUMBER_GET_NEXT'
            EXPORTING
              nr_range_nr                   = c_01
              object                        = c_z_prd_code
    *           QUANTITY                      = '1'
             subobject                     = p_vkorg
    *           TOYEAR                        = '0000'
    *           IGNORE_BUFFER                 = ' '
           IMPORTING
             number                        = in_prd_code
    *           QUANTITY                      =
    *           RETURNCODE                    =
            EXCEPTIONS
                  interval_not_found            = 1
                  number_range_not_intern       = 2
                  object_not_found              = 3
                  quantity_is_0                 = 4
                  quantity_is_not_1             = 5
                  interval_overflow             = 6
                  buffer_overflow               = 7
                  OTHERS                        = 8
    3) You may write these code in main program of the table maintinence
    rgds,
    TM.

  • How does Toggle Visible for a Column in a Table work ?

    Hi All,
    I have a question for you.
    Using version 11.1.1.7:
    I was playing with a use case where I need to show and hide columns in an af:table component.
    I want to do this clientside using javascript.
    Guess what: It works, however, it only works for hiding columns ?!
    Initially I have client component = true and visible is true.
    See javascript below.
    When I call hideColumn, the component is found and hidden after calling.
    When I call showColumns (after it is hidden) the component cannot be found anymore.
      function showColumn(evt){
          var col = AdfPage.PAGE.findComponentByAbsoluteId("pt1:pc1:t1:c9")  ;
          col.setVisible(true);    
       function hideColumn(evt){
          var col = AdfPage.PAGE.findComponentByAbsoluteId("pt1:pc1:t1:c9")  ;
          col.setVisible(false);    
        }I checked and when the columns visible property is initially false, the column is not found by AdfPage.PAGE.findComponentByAbsoluteId("pt1:pc1:t1:c9"), which means it is not available ?!
    It looks like the visible property for an af:column works slightly different then for other components such as buttons.
    Also makes me wonder how the panelCollection component shows and hides columns. Doesn't that component do exactly the same ?
    Thanks.

    Luc,
    couldn't find a hint in the sources (maybe didn't spend enough time). However, one reason for this behavior would be if the hidden column had no client component created (in which case it only exists as hidden HTML). The work around I think would be to use a serverListener on the table and to pass the columns to show/hide as the payload for server side show/hide
    Frank

  • How can I display True/False in my dropdownlist as "Yes" and "No"?

    Hi All,
    I want to bind a dropdownlist to a boolean value (so it's either true or false).  I'm particularly interested in using two-way binding to when the user changes from "yes" to "no" the boolean value automatically changes from "true" to "false."  But, I want the user to see "yes" and "no" as the options, rather than "true" and "false".
    How can I display "yes" and "no" and still take advantage of binding?  Or can I not use binding in this circumstance?
      -Josh

    Solution 1:
    In order to display Yes/No for True/False, you may specify labelFunction for the dropdownList.
    In MXML:
    <s:DropDownList labelFunction="myLabelFunction" />
    In actionscript:
    private var arr:ArrayCollection = new ArrayCollection(["true","false"]);
                private function mylabelFunction(item:Object):String
                    if(item.toString() == "true")
                        return "yes";
                    else return "No";
    OR
    Solution2:
    may be u can try making an array collection like
    private var arr:ArrayCollection = new ArrayCollection([{label:"yes",value:"true"},{label:"no",value:"false"}]);
    and specify labelField for the dropdownList like
    <s:DropDownList labelField="label" dataProvider="{arr}" />

  • MOUSE_OVER/MOUSE_OUT - txt.visible=true/false;

    I have a small problem with MOUSE_OVER, MOUSE_OUT event. On this map(MovieClip) I have 3 points(buttons) and when you will put a mouse cursor over one of them, in a space on the left sites will appear an address (difrent for all of buttons).
    1º I have buttons with instance names on the stage (qlu_btn, mad_btn, are_btn)
    2º In my library I have my text(address) - I transformed it in a symbol (MovieClip) and I assigned the instance names (qlu_txt, mad_txt, are_txt) in proprties.
    This is my AS3 for this movieClip for 1º of the buttons... but it doesn't works... Any idea where is a problem????
    var mad_txt:MovieClip = new MovieClip;
    addChild(mad_txt);
    mad_txt.x = - 140.0;
    mad_txt.y = - 65.0;
    mad_txt.visible = false;
    mad_btn.addEventListener(MouseEvent.MOUSE_OVER, gotoMadridOver);
    mad_btn.addEventListener(MouseEvent.MOUSE_OUT, gotuMadridOut);
    function gotoMadridOver(event:MouseEvent):void{
         mad_txt.visible = true;
    function gotoMadridOut(event:MouseEvent):void{
         mad_txt.visible = false;

    The code probably works but it's only an empty MovieClip, so you won't see it and won't be able to interact with it.  All that the following line does is create an empty MovieClip object named mad_txt.  It will have no relation to anything else you have done.
    var mad_txt:MovieClip = new MovieClip;

  • How to make visible context menu for nodes of the given level of treeTable?

    Hello
    I'm using JDeveloper 11g 10.1.1.4
    I have a TreeTable component with 4 different levels (Contry-Branch-Town-Object).
    I need to show custom elements of the context menu (right click of the muse) only for rows with "Object".
    Now, I'm doing it with the aid of property "visible":
                <af:commandMenuItem text="Open" id="cmi1" immediate="true"
                                    visible="#{backingBeanScope.mbMObjectsRegistry.MObjectNode}"
                                    actionListener="#{backingBeanScope.mbMObjectsRegistry.btOpenMObject}"/>
        public boolean isMObjectNode() {
            Object oldRowKey = treeTableMObjectsRegistry.getRowKey();
            try {
                AppViewRowImpl row =
                    BindingUtils.getSelectedRowTreeTable(treeTableMObjectsRegistry);
                if (row == null || !isMOBjectRow(row)) {
                    return false;
                return isMOBjectRow(row);
            } finally {
                treeTableMObjectsRegistry.setRowKey(oldRowKey);
        private boolean isMOBjectRow(AppViewRowImpl row) {
            return (row != null) && (row instanceof MObjectsRegisterMORowImpl);
        }That works, but the problem is that it works a little bit slow, particulary if I have 5 or more menu items.
    Each menu item calls the metod isMObjectNode() 3 times per one opening of the menu.
    The question is: maybe, there is a method to calculate level of the selected node? Or, there is other variant?
    Anatolii

    You can use the following sample to develop your usecase.
    Here, we would show menu items only for the nodes at level 3.
    You can also download the entire sample based on POJO at
    http://adfsampleapplications.googlecode.com/svn/trunk/TreeSampleApplication.zip
    The code is self explanatory.
    Let know, if you have any specific questions.
    <af:form id="f1">
    <af:treeTable value="#{bindings.continents.treeModel}" var="node"
    selectionListener="#{bindings.continents.treeModel.makeCurrent}"
    rowSelection="single" id="tt1" columnStretching="last">
    <f:facet name="nodeStamp">
    <af:column id="c1">
    <af:outputText value="#{node}" id="ot2"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node}" id="ot1"/>
    </f:facet>
    *<f:facet name="contextMenu">*
    *<af:popup id="p1" contentDelivery="lazyUncached">*
    *<af:setPropertyListener from="#{bindings.continents.treeModel.depth}"*
    *to="#{pageFlowScope.CurrentDepth}"*
    *type="popupFetch"/>*
    *<af:menu text="menu 1" id="m2">*
    *<af:commandMenuItem text="View Districts" id="cmi1"*
    *visible="#{pageFlowScope.CurrentDepth == 2 ? true : false}"/>*
    *<af:commandMenuItem text="View Attractions" id="cmi2"*
    *visible="#{pageFlowScope.CurrentDepth == 2 ? true : false}"/>*
    *</af:menu>*
    *</af:popup>*
    *</f:facet>*
    </af:treeTable>
    </af:form>
    Thanks,
    Navaneeth

  • How remove saved system-wide default for a column

    yesterday I saved a system-wide default for a column with a custom column heading and data format.
    now, when I drag this column in a new analysis, obiee shows no column heading.
    I've tried to save my custom default again or reset to column-default but with no results: the column heading is still empty.
    How can I fix this problem?
    thanks
    Luc

    Hello,
    What OBI version are you using?
    Enter some other custom name for the column (e.g. same as default one) and save it as system-wide. I guess, you have already tried, but...
    1. Stop Presentation Services.
    2. Go under web catalog in the file system and locate folder \root\system\metadata. This folder contains files storing subject area attributes, including system-wide settings. I the folder find 2 files named similar as the subject area which column you have modified (name will be in lowercase, spaces replaced with +). For example, for "SA System" subject area these files are named as "sa+system" and "sa+system.atr".
    3. Backup these 2 files you have found (better whole presentation catalog).
    4. Try one of the options:
    Option 1: If you have another version of these files (in the backup or other environments) - try to replace them. There is a risk you will loose some other column settings (or inherit new).
    Option 2: Modify the file without extension (it contains XML code inside): locate the string similar to your column name. Remove whole section ONLY for the column you have found between tags <sawsavedformat:columnSavedFormat and </sawsavedformat:columnSavedFormat>.
    Below is sample code for column originally named as "Pager" under "User" folder in "SA System" subject area.
    <sawsavedformat:metadata xmlns:sawsavedformat="com.siebel.analytics.web/savedformat/v1.1">
    <sawsavedformat:columnSavedFormats>
      <sawsavedformat:columnSavedFormat xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sawsavedformat:regularColumnSavedFormat" columnName="&quot;SA System&quot;.&quot;User&quot;.&quot;Pager&quot;">
       <saw:displayFormat><saw:formatSpec suppress="suppress" wrapText="true" hAlign="left" vAlign="top"/></saw:displayFormat>
       <saw:tableHeading><saw:caption fmt="text"><saw:text>User</saw:text></saw:caption><saw:displayFormat/></saw:tableHeading>
       <saw:columnHeading><saw:displayFormat><saw:formatSpec/></saw:displayFormat><saw:caption fmt="text"><saw:text>Pager New</saw:text></saw:caption></saw:columnHeading>
      </sawsavedformat:columnSavedFormat>
    </sawsavedformat:columnSavedFormats>
    </sawsavedformat:metadata>
    Option 3: Just remove these 2 files. Naturally, you will loose all the settings, not only one you like to get rid off.
    5. Restart presentation services.
    Hope, this helps.

  • How to have a common value for a column using sql loader

    Hi Have a sql loader file which looks like below. But I am not getting how insert the same value for the column in all rows.
    id,
    crt_user_id
    BEGINDATA
    1;"system"
    2;"system"
    3;"system"
    So, instead of entering the crt_user_id as system in all rows, can we place the value at the top after the column name?

    Thanks Srini. your hint/suggestion helped me in finding the solution.
    LOAD DATA
    INFILE *
    BADFILE './TEST.BAD'
    DISCARDFILE './TEST.DSC'
    APPEND INTO TABLE TEST_TABLE
    Fields terminated by ";" Optionally enclosed by '"'
    ID,
    crt_user_id CONSTANT 'SOME CONSTANT VALUE'
    BEGINDATA
    1
    2
    3
    so by using CONSTANT key word, we can avoid tying the same value in the data

  • How to get the F4 help for table columns ..

    Dear All,
    Here I have created table with cell editors of INPUT FIELD .
    And I would like to provide the f4 help for those columns .
    Here I have checked the node , which i have binded to the table, there input help mode is set to Automatic and search helps are also attached for that node .
    But in the table I am not getting the F4 help . Where as if i create the input fields invidually i am able to see the F4 help .
    But for table column I am unable to find..
    Help me regard this...
    Thanks & regards,
    Veerednra Nath

    Hi,
    In debugging , the I have seen the node info attributes list ( VALUE_HELP_ID and VALUE_HELP_MODE ) .
    For you understanding, Here I am giving the values which contains ,
    VALUE_HELP_ID contains the AUTO:VBUK
                                                    AUTO:VBUP
                                                    AUTO:MAT1
                                                    AUTO:H_T023
    and
    VALUE_HELP_MODE contains the  all Zeros for all the four attributes .
    Hope I have given correct inputs .
    Thanks & Regards,
    Veerendra Nath

  • How do I get a numerical value for the number of tick boxes or "true / false" in a column?

    Hi,
    Any help for my very simple brain appreciated...
    All I want to do is add in a formula for adding up the ticks in column B i.e. B2 - B46 so the answer of ticks is in B47!?
    And what's doing my head in is I can't even copy and paste a section to show on here!!
    Thanking anyone that can help.

    dominic.birch wrote:
    Hi,
    I just can't do it - it's doing my head in!!
    I'm adding the footer as suggested but the =COUNTIF(B, TRUE) isn't working; it just shows as I've typed it i.e. doesn't add up the ticks??
    D
    It would appear that you are typing it in as text, not creating a formula.  On the iPad, you don't type an "=" nor do you type the function name. You press the "=" button which then lets you start a formula. You choose the function by pressing the "functions" button then choosing it from the list. The function shows up in the editting bar with words in colored ovals for the parameters. You click on the various parameters in the formula to edit them. And you use the mathematical operators and click on cells or choose formulas to create mathematical operations.

  • How to enable the search option for a column in an old report

    Hi ,
    I created the report. It works fine. I remember while creating the report, at one step, I was asked to sort, search column level (check option) . I skipped that option at that time. But now I want to check/ enable them . So, how and where to do that ?
    Thanks.

    Hi,
    I think easiest way is re-create your report , so wizard do things for you.
    Other vise you need create "search bar" region and items manually and edit report where clause.
    You can first set your old report condition to never and create new report with same select.
    When you are sure that new report working ok, you delete old report.
    Br, Jari

  • How to assign Two Decimal Places for numeric Columns(urgent)

    Hi all,
    I have lot of Numeric fields under Advance table Section.
    for those fields data is coming single decimal point (42.5).
    but client want to see the data upto two decimal points like 42.50
    how to achieve this functionality.
    Please give me some idea on this functionality.
    it is very urgent for me.thanks in advance
    thanks
    vinu

    Use OADataBoundVariables and set the US currency format for the data. It would come accordingly. You can look for the exact code in some other threads.
    Another option is to set the decimal format in the getter of the VO. It would show accordingly on the page.

  • How to disable/enable the cells for editing column wise in JTable in java?

    Hi All,
    Can any one tell me how to disable the cells for editing by column wise in JTable?
    Here depending upon the radio button selected, I need 2 disable some columns for editing
    and enable some columns for editing?
    how can I do tat using JAVA?
    Any sample code is of great help to me.
    Thanks in Advance

    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
    ~

Maybe you are looking for