hide the table header

Hi, I have a requirement that, in some of the screens ADF component table must be displayed without a header (only data need to be), so I found the counting code to remove the header of the table below. But this code works in the world, which means that all tables in my project lose their headers. So the question is how can I make specific to a single table.

AF | : column-to-head-cell {}
display: none;
}

I use jdev 11.1.1.3

Thank you.

Hi Alain

You must first create a styleClass and then assign this styleClass to all the tables that do not have headers.

So first you css create the styleclass:

tableNoColumnHeaders af | : column-to-head-cell {display: none ;}}

And after that in your jsf code:

That should do the trick. Only, the table with assigned styleclass has no header.

Concerning

Luc Bors

Tags: Java

Similar Questions

  • How to hide the table header if no data is present

    Hello

    I need to hide the heading for the table if no data is present. Table a, column 5. If no matter what clolumn gave this section table should not be display.

    I use <? If: count (Installation_Event_S19) = 0? > but this is not a job for me.

    Could you please help me.

    Thank you

    Sylvie Kumar


    I think you want to show/hide a table that if its conditions of licence exists and have some value. You can have an if condition including the table.

  • CSS in the table header

    How to apply the color of the table header.

    I want to say, suppose I have 3 columns in the table, for each column header, I need to apply a color.


    example of table

    ID

    Status

    County

    name

    Brand

    NUM of series

    Address

    City

    State

    Zip

    Thank you

    NGO

    Here is the solution

    write in the css file.

    . {CustomTableheaderColor1}

    background-color: rgb (159, 159, 223);

    color: black;

    make-weight: bold;

    }

    . {CustomTableheaderColor2}

    background-color: rgb (241, 213, 213);

    color: black;

    }

    . {CustomTableheaderColor3}

    background-color: rgb (241, 241, 213);

    color: black;

    }


    call this custom in af:column class header styles




  • How to remove and hide the group header

    Hello

    I want to combine metadata fields and you want to give the name to the group. But I want to remove the skin on the page.

    Please provide inputs on how to achieve this.

    Thanks in advance

    You can set disableFieldGroupHeaders = 1 to completely hide the group header.

    To just remove the link to hide, you can set the following in a side effect of rule:

    <>

     

    '$>

    <$exec setresourceinclude("std_field_group_header_show_hide",="" std_field_group_header_show_hide)$="">

    Jonathan

    https://jonathanhult.com

  • Hide the table of contents without overlap

    Hi! How can I hide the Table of contents on the right, but not overlapping le slides, maybe endangered? Is there any in the program or script? Thank you very much.

    You can create a table of contents in Captivate, using variables and actions progress/shared.

  • How can I get the action to hide the table of contents to work as part of a conditional Action?

    GOAL: when a user takes the Quiz and fails, I wish they were able to get back underway and reviewing the materials before taking the quiz. As noted in other discussions, I have created actions advanced conditional and standard to achieve this:

    • Quiz results Slide Property executes the standard action "ResultsSlideVisitedAction", affecting a variable (AssessmentVisited) to 1, an indicator that the result slide has been visited.

    ResultsSlideVisited.PNG

    • If a user clicks the Retake Quiz button, instead of going to a "knowledge management", a quiz question classified early in the race with zero points, it goes to the first real quiz question. The slide to check knowledge runs the 'ExcludeKCAction', a conditional, looking to see if the result slide has been visited, which means that the quiz taken. If so, he jumps at the 1st question of the quiz slide.

    KCExclude.PNG

    • I changed my Quiz message fail to tell the user to click the button Retake (which works fine) or navigate using the table of contents to review topics and then resume the quiz. The problem with this is that if a user uses the table of contents and gets to go to the slide to verify the knowledge to conditional action, they are sent directly to the Quiz.
    • So, I took a different tact and decided to ask the user to use a "Back in the race" button to review the course and then resume the quiz. Because you cannot add buttons to the slide of results, I created an invisible button to reset the AssessmentVisited variable to 0, so when the GET to the verification of knowledge, they are not sent for the quiz. I did this by adding the image on a button, and then by superimposing an invisible rectangular shape on top of the button image. This allowed me to add advanced invisible form actions. It worked!
    • The last thing I want to do is to hide the table of contents, so there is no chance of the user to return without resetting the variable. I tried to add the action to hide the table of contents, but it doesn't seem to work. Is this possible?  I tried to move the TOC to hide as actions of 1st, 2nd and 3rd and sill does not. Here is a screenshot of the conditional action that runs when a user clicks on my return to the button a course:
    • ReturnToCourseCondition.PNG

    I appreciate any thoughts on a solution to hide the table of contents as well. Thank you.

    Hide the TOC works only for OCD in overlay, you use a table of contents separate?

    With respect to the Score slide buttons, you make it very complex, it is possible since version 6: buttons on Question/Score 6 Captivate Slides?-Captivate blog

  • JTable with custom column model and model table does not display the table header

    Hello

    I create a JTable with a custom table model and a custom column template. However the table header is not displayed (Yes, it's in a get). I have narrowed the problem down in one compilable example:

    Thanks for your help.
    import javax.swing.*;
    import javax.swing.table.*;
    
    public class Test1 extends JFrame
    {
         public static void main(String args[])
         {
              JTable table;
              TableColumnModel colModel=createTestColumnModel();
              TestTableModel tableModel=new TestTableModel();
              Test1 frame=new Test1();
    
              table=new JTable(tableModel, colModel);
              frame.getContentPane().add(new JScrollPane(table));
    
              frame.setSize(200,200);
              frame.setVisible(true);
         }
    
         private static DefaultTableColumnModel createTestColumnModel()
         {
              DefaultTableColumnModel columnModel=new DefaultTableColumnModel();
              columnModel.addColumn(new TableColumn(0));
    
              return columnModel;
         }
    
         static class TestTableModel extends AbstractTableModel
         {
              public int getColumnCount()
              {
                   return 1;
              }
    
              public Class<?> getColumnClass(int columnIndex)
              {
                   return String.class;
              }
    
              public String getColumnName(int column)
              {
                   return "col";
              }
    
              public int getRowCount()
              {
                   return 1;
              }
    
              public Object getValueAt(int row, int col)
              {
                   return "test";
              }
    
              public void setValueAt(Object aValue, int rowIndex, int columnIndex)
              {
              }
         }
    }
    Published by: 802416 on October 14, 2010 04:29
    added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    See http://download.oracle.com/javase/6/docs/api/javax/swing/table/TableColumn.html#setHeaderValue (java.lang.Object)
    When the TableColumn is created, the default headerValue is null
    So the header ends up rendered empty label (probably of size 0 if the JTable calculates its size of header based on the size of the default rendering tool).

    It worked:

         private static DefaultTableColumnModel createTestColumnModel()
         {
              DefaultTableColumnModel columnModel=new DefaultTableColumnModel();
                    TableColumn col = new TableColumn(0);
                    col.setHeaderValue("Header Title");
              columnModel.addColumn(col);
                    return columnModel;
         }
    

    Published by: jduprez on October 14, 2010 14:09
    Beaten by a fraction of a second!

    Published by: jduprez on October 14, 2010 14:10
    OK, by a split of 17 minutes, specifically: o)

  • Impossible to hide the table of content through its property

    Oracle Forms 10 g, Oracle database 10g

    Hi all

    I'm trying to hide my table of content at the time when the forms open so I went to his property and disable the Visible property, but I still see this painting.

    At the same time, when I use the code below, then I can't see this painting...

    Code

    SET_VIEW_PROPERTY ('MAIN', VISIBLE, PROPERTY_FALSE);

    In fact, I have defined name canvas in one of my table and want to control those dynamically.

    Can someone help me?. Thank you

    Concerning

    Muzz


    Dear Muzz

    Make sure that the first navigable point in the first block is not in the Web of hide. If its in the canvas, and then change the first element of the block as another element.

    Manu.

  • Table of contents - do not enter the table header overflow

    Hey,.

    In my table of contents, I listed two styles:

    1 table of contents Title Page

    2 - the ToC table header

    I also have my table set up correctly - headers, so when a Table flows to a second page - table headers appear in this second page as it should. The tables are large - and not the way to avoid overflow. I think that the principle is called "Text Threading" - but it also works with the tables.

    In the majority of cases - the implementation works perfectly.

    HOWEVER when the table flows to a second page - TocTable header does not appear in the Table of contents regenerated.

    For example, the table of contents looks like this:

    Electric Page 6

    Machine X - Y - Z Page 6

    Electric Page 7

    Electric Page 8

    When it SHOULD look like this:

    Electric Page 6

    Machine X - Y - Z Page 6

    Electric Page 7

    Machine X - Y - Z Page 7

    Electric Page 8

    Machine X - Y - Z Page 8

    Is this possible? I have looked at all - and cannot find all the options.

    Thank you!

    Clarify: X-Y-Z Machine is the title of the table, and he appears in a header row (repetition) over a several page table? And you want each occurrence of table header appear in the table of contents and not only the first occurrence?

    I don't think it will work this way. Header lines is modified on the first page of a table: other pages just repeat the info, but it is not accessible. It would work if you put the title of table above the table (not inside) and it repeated manually at the top of the pages. It's more work, but it will get the desired result. You mentioned that it doesn't happen that often, so maybe that's a doable "workflow" for you.

    That said, most of the TOCs brings you to the first page of a chapter, section, paragraph, and table and do not repeat the entry when the chapter, section, paragraph or a table contains more than one page. If I have sought to your table of contents and wanted to see the section on electricity, I have to stop and wonder what page to go to the first. I think that eventually, I would choose the premiera.

  • Hide the Table Sections based on user input

    I connected my form below. I'm trying to script the "Hide" button closed I want to hide all instances of the table "ActionItemGrp" sections when the user has entered a date in the field "ClosedDate". I tried the following script, but may not have to work.

    Form1.ButtonsPage.HideClosed::click - (JavaScript, client)
    for (var a=0;a<Table1.ActionItemGrp.instanceManager.count;a++){
    for (var b=0;b<Table1.ActionItemGrp.all.item(a).Table1.ActionItemGrp.Row5.instanceManager.count;b++) {
      if (Table1.ActionItemGrp.all.item(a).Table1.ActionItemGrp.Row5.all.item(b).ClosedDate.rawValue!==null)
       Table1.ActionItemGrp.all.item(a).presence = "hidden";
    }
    

    Link to my file on WeTransfer: http://we.tl/bmZjwdb52u

    The help is apprecaited...

    Ah ok.

    It is difficult, but this script should do.

    for (var t = 0; t < _Table1.count; t += 1) {
              for (var a = 0; a < xfa.resolveNode("Table1[" + t + "]")._ActionItemGrp.count; a += 1) {
                        var aTarget = xfa.resolveNode("Table1[" + t + "].ActionItemGrp[" + a + "]");
                        if (!aTarget.Row5.ClosedDate.isNull) {
                                  aTarget.Row3.presence = "hidden";
                                  aTarget.Row4.presence = "hidden";
                                  aTarget.Row5.presence = "hidden";
                                  aTarget.Row6.presence = "hidden";
                        }
              }
    }
    
  • Unable to move the table header id advance where multiple selection is used

    Hello
    We have a page of the OFA using custom tables and rows headers in the sections of lines we used several LOV selection using the table of actions (and we did it with success.,)

    Now my question is, the header value is failed in the lines that I create by selecting the lines of creation.

    For example:
    the header ID is 101
    the selection of multiple lines for the creation.
    create lines with success but id header does not pass in one of the lines in the header of line level table id column.

    TNX in advance.

    Hello

    I used the code for similar requirements below. Please check if its useful for you.

    Here, I take the current header ID value and check line lines whole vo seen headerID as null and setting the current headerID for these lines headerID.

    code processFormRequest
    {
    OAViewObject HeaderVo = (OAViewObject) am.findViewObject ("CreateHeaderVO1");
    Line OARow = (OARow) HeaderVo.getCurrentRow ();
    "" String headerIDValue = row.getAttribute ("ReqHeaderId") + "";
    Serializable [] params = {headerIDValue};
    am.invokeMethod ("insertDetails", params);

    }

    code the insertDetails method in AM as below:

    {} public void insertDetails (String HeaderID)

    OAViewObject linevo = (OAViewObject) getLineVO2 ();

    int headerId1 = Integer.parseInt (HeaderID);

    rowCount int = linevo.getRowCount ();

    Line row = linevo.first ();

    for (int i = 0; i)<>
    {

    oracle.jbo.domain.Number headerId = (oracle.jbo.domain.Number) row.getAttribute ("ReqHeaderId");
    Row1 OARow = (OARow) linevo.getCurrentRow ();

    if(headerId==null)
    {

    Row1.SetAttribute ("ReqHeaderId", headerId1);
    }

    line = linevo.next ();
    }

    } //end insertDetails()

  • How to hide the table row after deleting logical

    Hello.
    I use Jdeveloper 11.1.1.3.0, ADF BC and ADF Faces.
    I would like to implement the logic delete in my application.
    In my entity object I have deleted attribute and I replace the remove() method in my EntityImpl class.
        @Override
        public void remove()
        {
           setDeleted("Y");
        }
    and I added this condition in my view object
    WHERE NVL(Deleted,'N') <> 'Y'
    on my page, I have a table. This table has a column to remove each line. I dragged and drop action the data control RemoveRowWithKey
    and the value of the parameter * #{row.rowKeyStr} *.
    I have what I need is the following:
    When the user click on the delete button I want to hide the ROE of the table. I tried to rerun the query after deleting, but the line is still on the page. Why run query does not hide the line of the screen.
    Here's the code I used to remove and run queries
        public String deleteLogically()
        {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("removeRowWithKey");
            Object result = operationBinding.execute();
            DCBindingContainer dc=(DCBindingContainer) bindings;
            DCIteratorBinding iter=dc.findIteratorBinding("TakenMaterialsView4Iterator");
            iter.getCurrentRow().setAttribute("Deleted", "Y");
            //iter.getViewObject().executeQuery();
            iter.executeQuery();
            return null;
        }
    as you can see I used two methods () iter.getViewObject () .executeQuery; and iter.executeQuery (); but the result is the same.

    I built a sample for you - http://jobinesh.blogspot.com/2011/05/soft-deletion-of-rows.html. Please see if it meets your requirement.

  • White pages being inserted between the body and the table header

    Hello

    When I fill a textbox extensible in a line of body of table with large amounts of text (about 2 pages worth) I get a blank page is inserted after the first line of table header before the first line of the table body.

    I have attached a sample form that demonstrates this problem and also attached the sample text in a separate text file.

    Any suggestions on how to solve this problem would be greatly appreciated.

    Thank you

    This is a case where using a table is more difficult. I created another example which shows how to do this.

    Note that I put the version target 9 (I think remember me that the fields when not allowed out through)

    pages in version 8, but I'm not 100% sure).

    Paul

  • Column &amp; the table header

    Hi, I need your advice on how to create these positions in a table. The application should look like this:

    Products
    Competitor brand
    1     7           a     d
    2     8           b     e
    3     9           c     f


    where there are different from 2 columns 1,2,3 and 7,8,9
    a, b, c and d, e, f are also 2 different columns;
    overall, there are 4 columns.
    For the 'products', I made the identical table for all 4 columns, & it worked well, "products appears as a header of table for all columns of 4.»
    My problem is to "Brand" and "Competitor" column headers I tried to make the column header in the 1st 2 columns of 'Brand', but they appear as separate column heading in each column. I need to 'Mark' to be a cap of 2 columns.

    Please advice. Thank you very much

    Janne

    Published by: user5860439 on June 22, 2010 21:00

    Published by: user5860439 on June 22, 2010 21:27

    On the second and fourth columns, instead of naming the columns the same as the previous that you did, simply a 'space '. Then add borders to make groupings stand.

    Edited by: David_T on June 23, 2010 08:41

  • set the width of the table header

    I have a fairly simple VI that resizes columns in a listbox MC based on the size of the text. The only thing I do not know how to implement is including the row headings. I don't see a property to set the width of the row header cell. Suggestions?

    Column = - 1

Maybe you are looking for