Hide/Show the column content

Hi Guys,
Is it possible to show /hide the column contents on particular conditions for a dataTable??
In other words, there may be a situation where I wanted to hide the object for row1 but not for row2
I tried with setRendered method. But the problem I am facing is for all row values the last condition is applying
Please let me know the answer at earliest. Otherwise any alternate solution is also OK
Thanks
Sudhakar

Hi JIM,
Thanks for reply.
Yesterday only I got the answer. Thought to post my idea here but got delayed.
After posting this question, I did some investigation on how dataTable component works.
Instead of using DefaultDataTableModel i have binded my own bean array which has pre computed values.
Now it is working fine
Thanks & Best Regards
Sudhakar Chavali

Similar Messages

  • How to Hide/show the columns data while doing Drill down or drill up

    Hi ,
    How to Hide/show the columns data while doing Drill down or drill up in webi report .
    Does it possible BO 3.1 version ?
    Please suggest me on this.
    Thanks & Regards
    Venkat

    While that is not there yet, you can make use of the show when empty yes/no in combination with alerters.
    So I have an alerter applied to every cell of the table.
    When a condition is true (say I drilled down) I just put = "" in every cell, emptying the table,
    because its now empty and doesn't need to show, it wont.
    For the detail table I use the opposite, so when you drilled down it becomes visible...
    Hope this helps all that do not have 40 yet
    Good luck,
    Marianne

  • Strange issue in ListBox - Showing the 'id' contents and not from 'Values'.

    Hi,
    I have created a custom table control that looks exactly like in 'Partner Tab' of Sales Order. It has Partner type, Partner, Name etc columns. For 'Partner type' column, I am calling function module 'VRM_SET_VALUES' so it shows as 'Sold-to party' , Ship-to Party' instead of SP, WE etc. This works fine.
    However, before I display this table control, in PBO,  I am populating Partner Type and partner # and passing it to table control columns. It should show like 'Sold-To party' in 'Partner type' column and '0000014' in 'Partner' column. I see Partner # populated correctly, however, instead of showing 'Sold-To party' in 'Partner type' column , it is showing like SP, which is the 'id' value from function module 'VRM_SET_VALUES' . What should I do so it shows the description(content from 'Values' and
    not from 'id' ) ?
    Niranjan

    Thanks for the response.
    I had tried converting to text and pass from Internal table to Table control on screen in PBO, however, the width of the column is only 2 characters, so it will display just 2 characters text.
    I am wondering how SAP is able to code to show TEXT in 'Partner tab' in Sales Order. I have pasted the contents below from 'Partner tab' of sales order. I debugged the code in program SAPLV09C and screen 1000 and somehow they are populating the text as shown in 'PARTNER FUNCTION' below instead of codes like SH, SP. If I press F1 on field, I see SDPARTNERLIST-PARVW as the field name and the width is 2 characters.
    PARTNER FUNCTION        PARTNER #      NAME
    Sold-to party                         79269     XYZ CONSTRUCTION
    Foreman1                          2023     KURT
    Bill-to party                          79269     XYZ CONSTRUCTION
    Payer                          79269     XYZ CONSTRUCTION
    Regional Salesman            430     MARK
    Ship-to party                          219763     S.A.G. PROPERTIES
    Cont Person >Bill-To     80296     DENNIS
    Cont Person >Sold-To     80296     DENNIS
    Cont Person >Payer     80296     DENNIS
    Cont Person >Ship-To     261628     DENNIS

  • Hide/show a column in a report

    Hi,
    I'm actually looking for a solution to hide/show a column in a report (matrix form)in function of a parameter..
    Using the conditionnal formating propertie to hide a column (return false) works, but the colmuns in the right side don't move.. It's not very pretty..
    An other way could be to change the elasticity property of a column, and replace the data by "", but apparently, we can't access to this property by the srw command.
    I really need a solution, else I'll have to produce as many reports as I've to hide columns...
    Thanks a lot
    Best regards..
    DAvid
    null

    Hi,
    I use 'decode' in sql statement. If your sql statement is applicable to this,you may use it. So you can choose which columns you want to use and also you can concatanate columns to make them one column.

  • Apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    Thanks Barney, I tried that but all that comes up in Spotlight are the log files that show the file paths! I don't know how Steam works. Are all the files held by Steam on their server perhaps?

  • Not showing the column name

    Hi
    I am using jdev 11.1.1.3
    .i i dragged an adf table from data control.it has got 3 columns.i changed the name of first column as Lang grades.when i run that it is showing the column name as lang grades.then in that table two fields r mandatory.so in the property inspector i put the show required as true.but after that on running it is not showing the column name as lang grades.there is only the star sign for showing the attribute as required only.

    Hi,
    not enough information. So from your description, a column that is not marked required on its cell renderer component is not displayed at runtime. I am not aware of such a problem and suggest to try a later version of 11g R1 (11.1.1.6) to see if this reproduces. This allows you to exclude a probelm with 11.1.1.3 only
    Frank

  • How do I set the column content to automatic break lines

    Hello Guys,
    I have a problem with the column width and the column content of a standard report. Within the report are hugh entries which aren't interrupted by an space character. I set my column width to a special value by usingen "css style: display block; width: 300px;". Now the problem is that some of the column entries have a longer width than the column width is setted. So they overlock the entries of the column next to them.
    My question is: How do I set the column content to automatic break lines after a certain count of characters?
    After researching a couple of websites and discussion thread I found maybe a reference to the solution. I hope it help you to give me an answer.
    COLUMN LAST_NAME FORMAT A4
    regards
    wderr

    Wderr,
    PDFs are another animal entirely. Try adjusting the width of the column under the Print Attributes tab of the report.
    If that doesn't work you'll probably need to create custom XSL-FO layouts which, depending on the tools you have at your disposal, could take some time.
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/

  • Hide/Show the items in form

    Hi all,
    I am having one form in oracle apex3.1 and having some form elements like below.
    ================================
    NAme : textbox
    job : radio botton with (freshor,experieced)
    year of experience : tx
    if i select the experienced from job radio , i have to display "year of experience : tx" otherwise no need to display that row.
    =================================
    Please help me . i am trying last one month . Please give me step by step procedure.
    Thanks in advance.
    Regards
    Dhanush.R

    function onchange_jobtype(pValue) {
         var empIdFField      ="P2_REM_EMP_ID";
         var empNameFField     ="P2_REM_EMP_NAME";
         var contNameFField      ="P2_REM_CONTRACT_NAME";
         var empIdlField           ="L_P2_REM_EMP_ID";
         var empNameLField     ="L_P2_REM_EMP_NAME";
         var contNameLField      ="L_P2_REM_CONTRACT_NAME";
         if(pValue=="None") {
              html_HideElement(empIdFField);          
              html_HideElement(empIdLField);
              html_HideElement(empNameFField);          
              html_HideElement(empNameLField);
              html_HideElement(contNameFField );          
              html_HideElement(contNameLField);
         else if(pValue=="Employee") {
              html_ShowElement(empIdFField);          
              html_ShowElement(empIdLField);
              html_ShowElement(empNameFField);          
              html_ShowElement(empNameLField);
              html_HideElement(contNameFField );          
              html_HideElement(contNameLField);
         else if(pValue=="Contract") {
              html_HideElement(empIdFField);          
              html_HideElement(empIdLField);
              html_HideElement(empNameFField);          
              html_HideElement(empNameLField);
              html_ShowElement(contNameFField );          
              html_ShowElement(contNameLField);
    From above JS, I am able to hide/show the Textfields. But i am not able to hide/show the Label . Already I have created the Label and set the addition id.
    Please suggest me , how can i proceed on this ?

  • Automatically hide & show the Dock not working

    The Dock keeps getting stuck. When I turn the computer on it works fine. But then after a while, the Dock doesn't automatically show when the cursor is at the foot of the screen. If I click at the foot of the screen the Dock appears.
    Also, the magnification isn't working. It magnifies the app closest to where I click at the foot of the screen, but the Dock is then 'frozen' and moving the cursor left & right doesn't have any magnifying effect.
    I tried turning off Automatically hide & show the Dock and get no magnification whatsoever.
    I don't get any of these problems on my Intel'd MacBookPro - just my 2GHz Dual 3GB RAM Power Mac.

    I have exactly the same problem on a G5 and a 20' dualcore, both running Leopard...and also when you drop down the menus from the finder bar the selection doesn't turn blue when you run the cursor over them...but this problem hasn't affected my G4 ibook yet...
    I don't think Leopard is as stable yet as we would like it to be but i'm sure these little niggles will be sorted out in due time, Tiger was such a good stable OS and Leopard has a lot to live up too..!
    It would be nice to get these things sorted sooner rather than later....!
    Chris..

  • How to hide/show a column in reports 10g according to the parameter value

    Hi,
    I want to hide a column in the report according to the parameter value, is it possible?
    For example, there is a parameter called P_TYPE. I want to hide a column called 'BALANCE' if the P_TYPE=0.
    This column is not the last one in the table, so if it is hide then that empty space should be occupied by next column.
    Is it possible means please explain me how to do it?
    Thanks in advance,
    SAN

    Create a format trigger (for both the header and the column item) that returns False on you condition.
    Set the horizontal elasticity to Contract (for both the header and the column item).
    Sometimes Contract doesn't work. Try Variable in that case. This has the disadvantage that the field can also expand.

  • Times ten not showing the column alias as column header in select query.

    Hi All,
    I am trying to execute following queries on TimesTen database 11.2.2.2.0.
    SELECT ROWNUMBER,
    floor((to_date(TO_CHAR(SYSDATE,'YYYY-MM-DD hh24:mi:ss'), 'YYYY-MM-DD hh24:mi:ss')-to_date(TO_CHAR(starttime,'YYYY-MM-DD hh24:mi:ss'), 'YYYY-MM-DD hh24:mi:ss'))*24)
    || 'h '
    || mod(floor((to_date(TO_CHAR(SYSDATE,'YYYY-MM-DD hh24:mi:ss'), 'YYYY-MM-DD hh24:mi:ss')-to_date(TO_CHAR(starttime,'YYYY-MM-DD hh24:mi:ss'), 'YYYY-MM-DD hh24:mi:ss'))*24*60),60)
    || 'm '
    || mod(floor((to_date(TO_CHAR(SYSDATE,'YYYY-MM-DD hh24:mi:ss'), 'YYYY-MM-DD hh24:mi:ss')-to_date(TO_CHAR(starttime,'YYYY-MM-DD hh24:mi:ss'), 'YYYY-MM-DD hh24:mi:ss'))*24*60*60),60)
    || 's' TIME_DIFFERENCE
    FROM
    (SELECT ROW_NUMBER() OVER (ORDER BY USERIDENTITY DESC) ROWNUMBER,
    u.*
    FROM TBLMCORESESSIONS u
    WHERE 1=1
    ) B
    WHERE ROWNUMBER BETWEEN 1 AND 5
    and I am getting the follwing output.
    ROWNUMBER,
    < 1, 8h 52m 34s >
    < 2, 8h 54m 24s >
    < 3, 8h 54m 13s >
    < 4, 8h 55m 6s >
    < 5, 8h 54m 40s >
    The issue is I should get TIME_DIFFERENCE as column header but it is not showing TIME_DIFFERENCE as the column header & it is calculating the value just fine .
    & if same query I execute on oracle 11g database every thing works fine.
    please suggest me something that column header is must.
    or suggest me any other for query
    Edited by: hiaditya04 on Apr 24, 2012 11:05 AM

    Hi,
    It is similar to bug which is raised in Timesten 11.2.2.2.. BUG 13896607 - COLUMN NAME MISSING FROM A VIEW IN TIMESTEN 11.2.2.2 . If you have MOS access then you can view about this bug. The bug is going to be fix in the future release. The bug basically indicates that we are not displaying the column name properly when select list contains complex expressions. The column itself can be accessed and values are displayed correctly.
    Regarding your issue "column TIME_DIFFERENCE not found" , I would suggest you to access the column by position, not by name like below
    I believe you are trying to access your column like below
    resultset.getString(“TIME_DIFFERENCE”)
    Instead of this you can use : -- resultset.getString(2) ( this position should based on the position of the column you are using in the query)
    Hope this helps.
    Regards
    Rajesh

  • Can I show the column name for my legend?

    I have a bunch of graphs where the legend labels (ie. the values from the column) aren't really informative (ie. simple numeric values), and are part of a dimensional hierarchy, so you might see a graph whose legend has 1, 14, 38, 141 and you click on one of them and get another graph whose legend is 345, 6546, 2342. My current solution is to create a logical column prepending the value with a column name, so my values are now "District 1", "District 14", "District 38", "District 141". But it would be so much nicer if I could just show "District" above the legend. Is there any way to do this?

    My be this can give you a help:
    [code]
    SELECT *
    FROM   ALL_CONSTRAINTS
    WHERE  R_CONSTRAINT_NAME IN (SELECT CONSTRAINT_NAME
                                                               FROM   ALL_CONSTRAINTS
                                                               WHERE  TABLE_NAME = 'TABLE_NAME'
    [/code]

  • How to show the file contents in a streaming manner on the browser

    Hi,
    I have a log file which gets appended to by another program.
    I need to show the contents of this log file in the browser window but in a streaming manner. Reading the file in one shot and refreshing the page every few seconds is not a solution as it makes the browser hang when the file size is huge. A unix tail functionality is also acceptable but it should be streaming. Would a servlet or applet do the trick?
    Please advise!

    is your log file present on web/application server? if yes, you can do the following:
    1. create a web page containing text area. (for displaying log file)
    2. use XmlHttpRequstObject (Ajax) for querying the next available data from Servlet.
    On the Serverside:
    You can store the the FileScanner object in session scope. and use it to read the next available data and send it as response.
    On the client Side(webpage/javascript)
    read the contents of the response and append it to textarea.
    In Simple words, I'd say AJAX is the way to go.

  • Hide/show a column for some users in SSAS tabular

    Hi,
    I have a requirement to show one of the columns in a table only to some of the users. I know SSAS tabular only supports row level security. The only solution I came up with yet is to create two different models. Unfortunately this wastes a lot
    of expensive RAM in the server. Is there a better way? Some kind of work-around? ;)
    Best Regards
    Ulf

    One other way is to embed the security level into the table. You can do this by adding a "security_ID" into your structure and join it with a security table and join this to a security table which has a junction of Tablecolumns/User or TableColumns/UserGroups. 
    The next step is to use a Case When in your sql query  and make a decision to show null or real data for any column. 
    Business Intelligence Architect

  • Can we Hide/Show the Mouse with an Action or a Script?

    Hello All,
    I am developing a simulation using click boxes in Captivate 4, on Windows XP. If the user doesn't click the right place, the slide continues, and shows the user what to do. If the user clicks the correct place, the simulation goes to the next slide directly. The problem is, successful or not, when the user goes to the next slide, the recorded mouse pointer displays on the slide. If I hide the mouse, then it remains hidden even if the user clicks outside the box too many times and the simulation continues, to show the user what to do. It's as if things on the screen just select or click themselves.
    I know mouse visibility is treated differently in the timeline than other objects. That's not a particularly big deal, so long as there is some way to control the mouse visibility for simulations (one of Captivate's big selling points). Is there a way to control the mouse visibility with an Action or with Script?
    The current settings for my click boxes are:
    I tried to assign an Action (multiple actions, really) to hide, show, enable, or disable the mouse but the mouse doesn't seem to be available to do so!
    Am I missing something?
    Thanks,
    ~jeff

    Hi there
    Nope, the mouse is an all or nothing object. It's either visible or not and it's your choice as to what you show. No way I'm aware of to programmatically display it. All I might suggest is that if you want to show the user the mouse moving, duplicate the slide so that if they fail to click the right area, the duplicated slide has the mouse moving to demonstrate.
    Oh, and consider submitting a Wish Form to ask for the capability in some future version of Captivate.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

Maybe you are looking for

  • Problems displaying PDF files in browser - Help requested

    The scenario is that I visit a website that has information available via a link that normally would open a PDF document in a browser window.  The sort of document, that once open, if I clicked 'File-save as' in the browser would immediately save as

  • SAP CRM Navigate from custom search page to email component

    Hello Experts, I implemented my own search page and added a link on every row of the returned query that should direct me to the email component eg. CRMCMP_CCS_EMLV. I did something similar with Business partners and Task and it works. For BPs and ta

  • How can I bring back image Align options in Dreamweaver CS6 (CSS not an option)?

    Why were the options to align images from the Property bar removed in Dreamweaver CS6? When CSS isn't an option (email, CMSs, etc ), what options are available to better edit the inline HTML code? For this purpose, is it better to revert to an older

  • 10.4.7, Intel iMacs & MS Word

    Good morning. At Berkley we have just migrated to a G5 Xserve with Tiger server and upgraded all our workstations. The workstations are running Tiger 10.4.7 and are a mix of Intel iMacs, Mac books, eMacs and iBooks. Among the applications is MS Offic

  • Restrict Layout settings

    How do I restrict layout changes to a certain role/user ? What auth objects are involved ? Thanks