How to set different row - column visibility attribute

Hi all:
   I have one table in webdynpro for java. For example it have 4 rows, I need to set one column as different visible for row 1st and row 2nd .
           column1   column2
row1      x               -
row2      -               x
Can I set it ?
Thanks a lot.

ya sure, u can
make a visibility element and assign it to the tablecelleditor of each column of ur table. Now in the code, u must have bound the table to a node,  make the visibility element in the same node. Whichever row u want to make invisible, write the following code:
wdcontext.node<nodename>.get<node name>elementat(<the row which u wish to make invisible>).set<visibility context>(wdvisibility.NONE);
it will work.
Let me know if u need further help....
All The Best!!!
Regards
Gita

Similar Messages

  • How to set different numbers of visible items af:menu

    Hi guys,
    I have a request in setting different number of visible items for adf menu components(af:menu). I see that this option is available from the css skin file using " -tr-visible-items" attribute on af|menu selector:
    af|menu
    -tr-visible-items: 3;
    The main issue is that I have 2 menu components and on menu1 I need 3 items visible and on menu2 4 items. I created a custom styleClass and called from one of the menu, but it doesn't seem to work.
    JSFF snippet:
    <af:menuBar id="mb1">
    <af:menu text="Menu with 3 items" id="m1">
    <af:commandMenuItem text="commandMenuItem 1" id="cmi1"/>
    <af:commandMenuItem text="commandMenuItem 2" id="cmi2"/>
    <af:commandMenuItem text="commandMenuItem 3" id="cmi3"/>
    <af:commandMenuItem text="commandMenuItem 4" id="cmi4"/>
    <af:commandMenuItem text="commandMenuItem 5" id="cmi5"/>
    </af:menu>
    <af:menu text="Menu with 4 items" id="m2" styleClass="myclass">
    <af:commandMenuItem text="commandMenuItem 1" id="cmi6"/>
    <af:commandMenuItem text="commandMenuItem 2" id="cmi7"/>
    <af:commandMenuItem text="commandMenuItem 3" id="cmi8"/>
    <af:commandMenuItem text="commandMenuItem 4" id="cmi9"/>
    <af:commandMenuItem text="commandMenuItem 5" id="cmi10"/>
    </af:menu>
    And this is the CSS snippet:
    af|menu
    -tr-visible-items: 3;
    .myclass
    -tr-visible-items: 4;
    I tried also adding the following to filter components but no luck...
    .myclass af|menu
    -tr-visible-items: 4;
    So always only 3 items are displayed, looks like the cusom styleClass makes no difference.
    Could you let me know if I'm missing something?
    Thanks,
    Mihai

    Hi Frank,
    Thanks for your qucik reply.
    I've done this also and not working...
    So if I add the following code
    .men1 af|menu
    -tr-visible-items: 3;
    and
    .men2 af|menu
    -tr-visible-items: 10;
    and add on both afmenu's styleClass me1 and men2, nothing changes, it keeps the default value of 14... It looks lile only this works
    af|menu
    -tr-visible-items: 3;
    Thanks,
    Mihai

  • How to set different renderers to different cells in same column of JTable?

    Hello Friends,
    I need your help again...
    Does any body knows, how to set different renderer's for different cells of same column in JTable..??
    For ex.
    Col1 Col2 Col3 Col4
    A       A       A      A
    A       A       A      B
    A       A       A      C
    A       A      A       D
    Where A B C D would be different Renderers.  I want set exactly same ,,, ie. one column with different renderer at different cell positions..
    Right now i m setting renderer using statement bellow :
    table.getColumnModel().getColumn(int).setCellRenderer(rederer_Instance);But with this, effect in the last renderer is applicable whole column....
    Can any body help me out ?????????
    please refer this thread for similar kind of discussion...
    http://forums.sun.com/thread.jspa?forumID=57&threadID=571445Thanks
    Suyog

    Please refer to the first reply of [this thread|http://forums.sun.com/thread.jspa?forumID=57&threadID=571445] for the answer. If you have a specific problem implementing it, post you code with a specific question.

  • How to set different font for a particular row in jtables?

    How to set different font size and font type for a particular row in jtable?

    More than enough sample code here:
    [http://java.sun.com/docs/books/tutorial/uiswing/components/table.html]
    db

  • How to set Tile count column or count row?

    How to set Tile count column or count row? If not can do, How
    to adjust count row or count column?
    Thx for all idea.

    The Tile container's number of columns and rows is calculated
    based on each child's width and height (or based on tileWidth and
    tileHeight which you can set). If you need more control over the
    layout, use Grid.

  • How to print the row  ,column,and particular cell in separate color

    how to print the row  ,column,and particular cell in separate color IN ALV GRID

    HI,
    Here you go good program links
    <a href="http://www.sapfans.com/forums/viewtopic.php?t=52107">How to Set Color to a Cell in AVL</a>
    <a href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm">ALV Grid Coloring</a>
    Thanks
    Mahesh

  • How to set special rows in jtable not selectable

    Hello programmers,
    anybody knows how to set special rows(p.E. row 0) in jtable not selectable.
    in advance thanks for your answers

    table = new JTable(...)
         public void changeSelection(int row, int column, boolean toggle, boolean extend)
              if (row == 0)
                   return;
              else
                   super.changeSelection(row, column, toggle, extend);
    };

  • How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?

    Hi All,
    How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?
    Assume Material is Pen.
    While creating Sales Order in VA01 how to bring different price for the same material for Platinum,Gold and Silver Customers.
    Kindly help me out.
    Thanks,
    Renjith Jose

    A good place to start is http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
    Also, do a search in this forum on HttpURLConnection. That class allows you to use POST method to send form data to a web server.
    "Hidden" variables are only hidden in HTML. The HTTP that gets POSTed to the web server doesn't distinguish between hidden and not hidden. That is, the content you would write to the HttpURLConnection.getOutputStream() would be something like:
    hidden=1&submit=ok(Of course, the variable names would depend on what the web server was expecting from the form.)
    Also, be sure to set the Content-Type request parameter to "application/x-www-form-urlencoded"

  • How to set a custom column in a workflow task.

    Hello,
    I'm looking for some assistance a bit with how to set a custom column in a Workflow Task.
    I have a List Workflow that starts when an item is created in a list. The workflow, platform type SharePoint 2013, starts a new task, Task1, with Content Type 1. This Content Type has a custom column called Age. Once the Task1 is completed a new task, Task2,
    with Content Type 2, starts and has the same column Age, as Task1.
    How can I populate the Age column in Task2 with the content of the Age column in Task1?
    Since I start the task by running "Assign a task to ..." Action I was thinking to copy the Age column from the Task1 to the list item that started Task1, which has a column Age as well, and then in Task2 to start another workflow - which is associated
    with the Content Type 2,  that would try to read the Age column from the list item that started Task2, which was set once Task1 was competed - I know it's complex but this is how I was thinking. 
    The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
    Is there a better approach? I use SharePoint Designer 2013 to design all this.
    Any assistance is appreciated.
    Thank you.

    Hello Sebastian,
    you can get the Age column from Task 1 and then update the Task 2 Age column with that value. I am not sure why you want to run another workflow on Task 2.
    You can perform below steps to set Age column from Task 1 to Task 2.
    1.  Create Task 1 using Assign a task , wait till the task is completed.
    2. Get the Age column value based on Task 1 once the task is completed.
    3.Create Task 2 using Assign a task ,  uncheck wait till the task is completed option.
    4. Update the Task 2 with Age column in Task1.
    5. Use Wait for the field to equal value , check for Task Status is completed or not.
    >>The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
    you can get the related item from task list item to get the main list item.
    Other option is, Use Javascript and CSOM  in task edit form to get the Age column from Task1 and prepoluate the Age value when Task2 is opened.
    Hope this helps.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to set different nr of e.g dia wp for different op.modes when in instan

    I wander how to set different nr of e.g dia wp for different op.modes when in instance profile the nr of wp is fixed.
    thx in advance

    yes u can create the operation mode by using tcode rz04. the steps are:-
    1) run the tcode :- rz04
    2: select the operation mode then click on create instance (create ur instanace for eg :- day mode and night mode)
    3)click on operation mode select the timetable then select normal operation(24 hr)->assign the modes (means select the time by double click and then right click on that select assign and give the mode eg:- day mode ) same way give another modes.Incase if there is any problem then please let me know.
    4)go to back -> click on instance/operation mode ->select create new instance->give the host name & click on current setting and save it the diaglog window will appear give the operation mode name eg day mode then if you want to increase or decrease the work process by cliking on + and - tab u can change it after that save it the WP authorization some kind of this window will appear click on yes then new instance mode will appear give the instance name eg night mode then save it again dialog window will appear do changes in work process according to ur requriement and click on save again the same wp window will appear if u want to add more operation mode then click yes either no then save it . Now u will able to see ur all operation modes.
    operation mode setup
    http://help.sap.com/saphelp_nw70/helpdata/EN/c4/3a5e76505211d189550000e829fbbd/content.htm
    Operation Mode Switches
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a5f1f505211d189550000e829fbbd/content.htm
    Note 39412 - How many work processes to configure
    cheers
    dEE

  • How to set different header for different Standard report page

    How to set different header for different Standard report page

    Hi,
    A easy answer would be use the 'set report header text.vi' but maybe you are talking about something else ?

  • How to set different Icons for Jtreenode

    How to set different Icons for Jtreenode,i want to set icons for jtreenode,not only for leaf,open,closeicon,i hope that each node has a different icon.Thanks!

    you need to check for the node value within a renderer, then assign an icon based on what you expect to get back.
    check out this page. http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html

  • How to set different icons for different windows which is seen in the top left corner?

    Hi
    How to set different icons for different windows which is seen in the top left corner? I know when building exe there is a option to edit icons or add icons and that icon is default for all the windows in the project. But i want different icons for different windows which is possible in VB.
    Is there any way to set icon by calling any dlls.
    Thanks & Regards
    Samuel J
    [email protected]

    Hi Sam,
    no problem. See the attachment.
    Mike
    Attachments:
    TestIcon_LV85.zip ‏44 KB

  • Can I make auto layout of Matrix Chart after setting fixed rows/columns ?

    Can I make auto layout of Matrix Chart after setting fixed rows/columns ?
    I want to make Matrix Chart to auto layout to zooming out a chart of filter.
    Matrix Chart's layout is AUTO layout at creating.
    Matrix Chart layout can fix specfic rows / columns from layout toolbar.
    BUT fixed layout's Matrix Chart does not zoom a chart of filter.
    Regards,
    Yoshihiro Kawabata
     

    Hi Yoshihiro - at the moment if a specific number of row/columns has been set for small multiples the chart will maintain these proportions even after filtering.
    If the chart hasn't had a set row/column dimensions set it will automatically be re-laid out when filtered however.

  • How to set max row display rows in PO's PLD

    Hi,
    How to set max row display rows in PO's PLD
    Thanks and Best Regards
    Bruce

    Hi
    Max. Rows per Page is depend on PLD Settings and Depend on Repetitive Area Fieds Height.
    Try this,
    1st Case:
    ->> Administration Module.
    ->> System Initialization.
    ->> Open the Print Perferences Window.
    ->> Click General Tab on Print Perferences Window.
    ->> Assign the Max. Rows per Page - 99 (or) your wishes.
    ->> Update the Print Perferences.
    2nd Case:
    ->> Open your PLD.
    ->> Choose Repetitive Area on Field Index Window.
    ->> Click Format Tab on Properties Area Window.
    ->> Assign the Lines in Repetitive Area - Your Wishes .
    ->> Save the PLD.
    Regards,
    Madhan.

Maybe you are looking for

  • HT1933 I get emails saying that there is a new show to download, but when I click on download, it doesn't work. How do I fix this?

    Long story short. I get emails for my pre-purchased TV shows saying I can download them. I click the button, it downloads into iTunes, and I watch them. Now, this isn't happening. I can purchase and download songs just fine, but when I click on the p

  • How can I know that the listener is starting up?

    Hi, I follow the instruction in ACS Oracle Installation guide. I believe that many of you use the document to install oracle. I have a question when I try to start the listener. when I execute ./listener8i stop or ./listener8i start I got the same me

  • Can't install applications - "Certificate Error, c...

    HI! I wanted to update Mail for Exchange, so thru phone uninstalled the application then went to OVI store(asked to update first) to download/install latest Mail for Exchange. After download, when installing it returned a "Certificate Error, contact

  • Restricted posting in previos posting period

    Dear All, As per our normal practice for quarterly closing, the posting period is closed before the end of month (a week before) and a new posting period is opened at the same time for the starting month. However, the Bank Statements are received fro

  • Sorting sequence disturbed

    Hello Friends, I am sorting an internal table like sort ITAB by F1 F3 F4. but after this sort I lost my sequence and grouping of VBELN PONR. which is as below: VBELN-----POSNR---F1 F2F3-- F4           80011864-     40   300730---- V100-----     GER--