Dynpro table - footer and highlight selected row

I have two questions reg. tables: WebAS 6.40 SP13
a) Although I set the property footerVisible to false, I do still have this navigation footer visible. Is there another condition which must be met in order to hide it (e.g. design alternating works only in readOnly mode)?
b) Is there a way to have selectionMode Single without this box in the first column (only highlighting the selected row with this orange frame).
Thanks F.

Thanks folks for your support. Maybe I should have described what I am going to do: I want to realize a table where the first two columns are fixed, while the rest of the columns are scrollable (horizontally).
I have used two tables, both referring to the same model (singleton). The second table (to the right) is in a scrollable container, so I can scroll horizontally. For the user this looks like one table, only the second part is scrollable. All works fine, except for the two things I have posted:
a1) Since I already have a footer for navigation in the first table, I want to hide the one in the second table.
a2) In the NWStudio the footer is hidden when I set footerVisible false, but in the Browser it is still there.
b1) Since I have already the lead selection boxes in the first table, I do not need it in the second.
b2) However, I still want to indicate the selected row (spanning two tables). Since the same(!) model data are used, this works when I have selection mode single. I do not even have to program anything, any selection in the first table highlights the same row in the second - only I do not want to have the boxes twice.

Similar Messages

  • How to highlight selected  row in a region ? ? ?

    Hi There!
    I have two regions Region1 and Region2. Region2 data is populated when I select a row in Region1.
    Now I have Region1 and Region2 data on the same page, but I cant exactly tell which row in Region1 corresponds the data in Region2.
    I was thinking of highlighting the row which was selected in Region1. Went through couple of solutions, but wasnt able to implement it.
    So was wondering if any one of you know a easy to understand and implement a solution for this problem.
    Any help or suggestions is greatly Appreciated.
    Thank you
    Krishna

    Hi krishna,
    You can try this
    http://roelhartman.blogspot.com/2009/06/highlight-row-in-interactive-report.html
    and examples
    http://apex.oracle.com/pls/otn/f?p=ROEL:CURROW:763487747488998
    http://apex.oracle.com/pls/apex/f?p=34839:27:0
    or try solutions from this thread
    Highlighting currently selected row in a Report-Form page
    hope this will help you
    regards,
    Chetan
    Edited by: Chetan on 24 May, 2010 12:44 PM
    Edited by: Chetan on 24 May, 2010 12:45 PM

  • How do i copy and paste selected rows from numbers to another numbers worksheet

    I have asked this question before, but it sounds as if numbers did not have the update at that time.  I have pasted a spreadsheet from excel into numbers.  I would now like to take selected rows, for example, row 5, row 9, row 22, row 27, etc, copy these entire rows, and pastte into another blank numbers work sheet.  In excel, one can hold down the ctrl key, and click on each row they want to copy, and all will be copied in one operation,  Than you can paste into a new excel work sheet.  I have tried this on my ipad 2 many times, holding down the command key, and tapping on each row I want to copy.  I just cannot get this to work.  Please let me know how to do this, if numbers even has this possible.  Thanks.

    I have tried this on my ipad 2 many times, holding down the command key, and tapping on each row I want to copy.
    Command Key.... on ipad? Ddint know there was one.
    As for copying non-continuous ranges, cannot be done on ipad at this time. On a desktop maybe, but i cannot test it right now.
    Each row can be done individually, or you could sort the rows to grab the range you want. To do this (espeically if there is nothing that is unique about them), just make a new column and place a 1 in the cell for each row you want to copy, sort. That will place all your rows together and enable you to copy.paste them back out.
    If you want to preserve the original sort order, make another column (I usually use A for this) and put in =ROW() as the equation. Fill it down for the whole table and copy/paste values over it. now after you do any kind of sorting, you can always return the list to the original sort order.
    Jason

  • Multiple selection in table not returning all selected rows

    I am unable to obtain multiple selected rows from a table. I only get a single row no matter how many I select.
    I have the following table
    <af:table value="#{bindings.TargetSelectorTargets1.collectionModel}"
    var="row"
    rows="#{bindings.TargetSelectorTargets1.rangeSize}"
    emptyText="#{bindings.TargetSelectorTargets1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.TargetSelectorTargets1.rangeSize}"
    rowBandingInterval="0"
    filterModel="#{bindings.ImplicitViewCriteriaQuery2.quickQueryDescriptor}"
    queryListener="#{bindings.ImplicitViewCriteriaQuery2.processQuery}"
    filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.TargetSelectorTargets1.collectionModel.selectedRow}"
    selectionListener="#{bindings.TargetSelectorTargets1.collectionModel.makeCurrent}"
    rowSelection="multiple"
    partialTriggers="::qryId1" id="t3"
    styleClass="AFStretchWidth"
    binding="#{testbean.targetselectortable}">
    <af:column sortProperty="Name" filterable="true"
    sortable="true"
    headerText="#{bindings.TargetSelectorTargets1.hints.Name.label}"
    id="c2">
    <af:outputText value="#{row.Name}" id="ot33"/>
    </af:column>
    <af:column sortProperty="Type" filterable="true"
    sortable="true"
    headerText="#{bindings.TargetSelectorTargets1.hints.Type.label}"
    id="c11">
    <af:outputText value="#{row.Type}" id="ot34"/>
    </af:column>
    </af:table>
    and I have the following bean method to get the selected rows
    RowKeySet rks = targetselectortable.getSelectedRowKeys();
    Iterator itr = rks.iterator();
    Object key;
    while(itr.hasNext())
    key = (Object)itr.next(); targetselectortable.setRowKey(key);
    Object o = targetselectortable.getRowData();
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding) o;
    Row row = rowData.getRow();
    System.out.println(row.getAttribute("Name").toString());
    and I only get one row.
    Note: selectedRowKeys="#{bindings.TargetSelectorTargets1.collectionModel.selectedRow}"
    shows a warning that "reference selectedRow" not found.
    Can I do something to make it work?

    can u change the logic like
    RowKeySet rowSet = targetselectortable.getSelectedRowKeys();
    Iterator rowSetIter = rowSet.iterator();
    > while (rowSetIter.hasNext()) {
    > List l = (List)rowSetIter.next();
    > Key key = (Key)l.get(0);
    >
    FacesContext fc = FacesContext.getCurrentInstance();> BindingContainer bindings =
    > (BindingContainer)fc.getApplication().evaluateExpressionGet(fc,
    > "#{bindings}",
    > BindingContainer.class);
    >
    DCBindingContainer bindings = (DCBindingContainer)bindings ;> DCIteratorBinding iter =
    > bindings.findIteratorBinding("TargetSelectorTargets1Iterator");
    >
    > iter.setCurrentRowWithKey(key.toStringFormat(true));
    > Row r = iter.getCurrentRow();
    > System.out.println(row.getAttribute("Name").toString());
    > }

  • Table control and a selection screen

    Hi,
    I have a requirement where I am supposed to be designing a screen that has a table control with fields
    w/selection column       label 1(non-editable)          i/o field(from)        i/o field(to)
    w/selection column       label 2(non-editable)          i/o field(from)        i/o field(to)
    On searching the forum threads, I found related threads as to how to implement a selection screen (as the I/O fields are similar to select-options) in module pool programming. But mine requires the use of table control and a kind of selection screen embedded into it. Please guide me through this requirement.

    Hi
    If you need to implement a table control on selection screen u need to use a tabstrip as graphic element supports the table control.
    So
    1 - Step: define a tabstrip with 1 tab only:
    SELECTION-SCREEN BEGIN OF BLOCK 3.
    SELECTION-SCREEN BEGIN OF TABBED BLOCK MAX FOR 22 LINES.
    SELECTION-SCREEN TAB (25) TABS1 USER-COMMAND UCOMM1
             DEFAULT SCREEN 100.
    SELECTION-SCREEN END OF BLOCK MAX.
    SELECTION-SCREEN END OF BLOCK 3.
    2 - Step design the subscreen (in my sample the dynrpo 100) and insert the table control there:
    PROCESS BEFORE OUTPUT.
      MODULE INIT_CTRL.
      LOOP WITH CONTROL T_CTRL.
        MODULE DISPLAY_DATA.
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP WITH CONTROL T_CTRL.
          MODULE UPDATE_DATA.
      ENDLOOP.
    In the module DISPLAY_DATA and UPDATE_DATA u need to implement the code to transfer the data from internal table to table control and from table control to internal table, in order to display and update the data.
    Max

  • [BC4J] Table with AttributeListBinding does not highlight selected row(s)

    Hi,
    I'm using a JTable with a AttributeListBinding (from BC4J-9.0.4.3) in a FatClient application.
    JTable myTable = new JTable();
    myTable.setModel(
      JUTableBinding.createAttributeListBinding(getPanelBinding(),
         myTable,
         _vo.getName(),
         null,
         _vo.getName()+"Iter",
        new String[]{
           "Attrib1",
           "Attrib2"
    myTable.setRowSelectionAllowed(true);This way, the second row is selected (shows the Cursor cell border at the expected row) but the row background is not the SelectionBackgroundColor.
    Is there a simple way to force SelectionBackgroundColor on stelected rows?
    bye
    TPD

    This is my solution:JTable myTable = new JTable(){
       @Override
       public boolean isRowSelected(int pRow){
          return pRow = _vo.getCurrentRowIndex();
    myTable.setModel(
      JUTableBinding.createAttributeListBinding(getPanelBinding(),
         myTable,
         _vo.getName(),
         null,
         _vo.getName()+"Iter",
        new String[]{
           "Attrib1",
           "Attrib2"
    myTable.setRowSelectionAllowed(true);

  • Table name and number of rows

    SELECT 'analyze table '||table_name||' compute statistics for table;'
    from user_tables;
    SELECT table_name,num_rows
    FROM user_tables; Hi I am getting null NUM_ROWS column what could be the reason and how can I fix it?

    It works ... for me however.....!!!!
    SQL> create table f(b varchar2(10) , g number(2));
    Table created
    SQL> insert into f values('5',4);
    1 row inserted
    SQL> insert into f values('e',4);
    1 row inserted
    SQL> commit;
    Commit complete
    SQL> select table_name,num_rows from user_tables where table_name='F';
    TABLE_NAME                       NUM_ROWS
    F                             
    SQL>
    SQL> begin
      2   for r in ( select table_name from user_tables )
      3   loop
      4   execute immediate 'analyze table '||r.table_name||' compute statistics for table';
      5   end loop;
      6   end;
      7  /
    PL/SQL procedure successfully completed
    SQL> select table_name,num_rows from user_tables where table_name='F';
    TABLE_NAME                       NUM_ROWS
    F                                       2
    If you repeat the above simple test don't you get the same results.....????
    Sim
    Message was edited by:
    sgalaxy

  • List Table names and number of rows in it

    Following is a piece of code that would list all tables in a schema and the number of rows in each table.Hope it is helpful for you.
    Note: In this example iam selecting only those tables starting with 'T_'. you may replace it accordingly.
    create or replace procedure count_lines is
    cursor cur is select tname from tab where tname like 'T\_%' escape '\';
    lines number;
    begin
    dbms_output.put_line(rpad('TABLE_NAME',65,' ')||'NUMBER_OF_LINES');
    dbms_output.put_line(rpad('-',80,'-'));
    for i in cur loop
    execute immediate 'select count(*) from '||i.tname into lines;
    dbms_output.put_line(rpad(i.tname,70,' ')||lines);
    end loop;
    end count_lines;
    Following is the sample output:(ignore alignment here)
    TABLE_NAME NUMBER_OF_LINES
    T_FR_ACTION 3
    T_FR_ATTRIBUTE 52
    T_FR_ATTRIBUTE_TYPE 3
    T_FR_ATTRIBUTE_VALUE 5389

    This has been covered many times, so your solution is not the only way...
    http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
    Re: count rows in shema tables
    And there's many more if you search

  • Table name and count of rows in that table through out the database

    Hi All,
    how to find the table_name and the number of rows in that table for all in a database.
    Bhargava S Akula.

    Hi,
    Something like this
    create function table_count(
       owner       dba_tables.table_name%type
      ,table_name  dba_tables.table_name%type)
       return number
    is
       the_count   number;
       stmt        varchar2(2000);
    begin
       stmt := 'select count(*) from ' || owner || '.' || table_name;
       execute immediate stmt
                    into the_count;
       return the_count;
    exception
       when others
       then
          return 0;
    end table_count;
    select owner, table_name, table_count(owner, table_name)
      from dba_tables
    where 1 = 2; -- remove this  Regards
    Peter

  • How do I select a field and between selected rows insert auto-incremented numbers?

    I have a spreadsheet in Numbers '09 and I want to number the rows so that I can sort by the original order after I've already sorted by different items. In Excel this is fairly easy, but how do you do this in Numbers? How do I select a series of rows in a column and tell it to automatically insert numbers incremented from one to the total number of rows?
    Thanks,
    Philip

    Hi Philip,
    As an alternative to the method Yvan pointed out, you could use a formula.
    (NOTE: This takes longer to write than to do.
    (CAUTION: Make sure you use Copy/Paste Values to replace the formulas with the calculated numbers before sorting.))
    Choose a column in which to place the numbers.
    In the first non-header cell in the column enter the formula:
       =ROW()
    Select the whole column by clicking its column reference tab.
    Then use command-click to deselect the header cells above the one where you placed the formula.
    With the cell containing the formula and all of the column below it selected, go:
       Insert (menu) > Fill > Fill Down
    The formula will be filled into the rest of the column and the numbers calculated.
    With the cells still selected, COPY, then go Edit > Paste Values.
    This replaces the 'live' formulas with the numbers themselves, and prevents the numbers being recalculated when the rows are sorted.
    Regards,
    Barry

  • Split Oracle 11g Table Partition and Insert new rows

    Hi,
    I have a doubt that i would like to be clarified. I need to split a partition of a table with more than 800 Million records, but at the same time (during the split operation) i need to insert new records (not in the partition that is being splited). Is there any problem/risk doing this? Is the insert ETL process going to fail ?
    Thanks in advance
    Greetings.
    Nuno
    Edited by: user13512889 on 1/Set/2011 3:25

    Hi Enrique,
    Thanks for posting in MSDN.
    Based on the description, you want to modify the formula for the A1 and B1 cell when you insert a new rows.
    Yes, we can use Worksheet.Change to dermin the change of data on the worksheet then we can modify the formula as we wanted. Here is a sample for your reference:
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Me.Range("A1").Formula = "=MAX($A2:$A" & Me.UsedRange.Rows.Count & ")"
    Me.Range("B1").Formula = "=MIN($B2:$B" & Me.UsedRange.Rows.Count & ")"
    End Sub
    You can more detail about Excel VBA developing from link below:
    Getting Started with VBA in Excel 2010
    Welcome to the Excel 2013 developer reference
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Table loading with empty selected row

    hi i have below table ,when the page load it has empty row created, i what it to show that message emptyText=No data to Display when the page load,the table was created based on the bean,am in jdeveloper 11.1.1.6.0,i don't what to use #{!adfFacesContext.initialRender} becuase it does not allow me to add value in the table
    <af:table
                              var="row" rows="#{bindings.addmemberBean.rangeSize}"
                              emptyText="#{bindings.addmemberBean.viewable ? 'No data to display.' : 'Access Denied.'}"
                              fetchSize="#{bindings.addmemberBean.rangeSize}"
                              rowBandingInterval="0" id="t1"
                              binding="#{pageFlowScope.MemberBean.tempTable}"
                              value="#{bindings.addmemberBean.collectionModel}"
                              rowSelection="multiple"
                              selectionListener="#{bindings.addmemberBean.collectionModel.makeCurrent}">
                      <af:column sortProperty="name" sortable="false"
                                 headerText="#{bindings.addmemberBean.hints.name.label}"
                                 id="c6" width="106">
                        <af:outputText id="ot2" value=" #{row.name}"/>
                      </af:column>
                      <af:column sortProperty="surname" sortable="false"
                                 headerText="#{bindings.addmemberBean.hints.surname.label}"
                                 id="c4" width="104">
                        <af:outputText value="#{row.surname}" id="ot3"/>
                      </af:column>
                      <af:column sortProperty="emailaddress" sortable="false"
                                 headerText="#{bindings.addmemberBean.hints.emailaddress.label}"
                                 id="c5" width="105">
                        <af:outputText value="#{row.emailaddress}" id="ot4"/>
                      </af:column>
                      <af:column sortProperty="firstname" sortable="false"
                                 headerText="#{bindings.addmemberBean.hints.firstname.label}"
                                 id="c3" width="105">
                        <af:outputText value="#{row.firstname}" id="ot1"/>
                      </af:column>
                      <af:column id="c7" headerText="AddUser">
                        <af:selectBooleanCheckbox
                                                  label="Label 1" id="sbc1"/>
                      </af:column>
                      <af:column headerText="#{bindings.addmemberBean.hints.name.label}"
                                 id="c8" visible="false">
                        <af:inputText value="#{row.bindings.name.inputValue}"
                                      label="#{bindings.addmemberBean.hints.name.label}"
                                      required="#{bindings.addmemberBean.hints.name.mandatory}"
                                      columns="#{bindings.addmemberBean.hints.name.displayWidth}"
                                      maximumLength="#{bindings.addmemberBean.hints.name.precision}"
                                      shortDesc="#{bindings.addmemberBean.hints.name.tooltip}"
                                      id="it2">
                          <f:validator binding="#{row.bindings.name.validator}"/>
                        </af:inputText>
                      </af:column>
                    </af:table>and i don't what to user
    public void emptytable(){
            ViewObjectImpl vo = this.getAddMemberVo1();
            vo.executeEmptyRowSet();
        }because am not using a view,am using a bean
    Edited by: adf0994 on 2012/11/06 10:38 AM
    Edited by: adf0994 on 2012/11/06 10:41 AM
    Edited by: adf0994 on 2012/11/06 10:44 AM

    public Beantest() {
    super();
    addmemberBean = new ArrayList<AddmemberBean>();
    This way, the list will be completely empty when your bean is created.
    And thus, your table shouldn't contain any data.

  • I have a spread sheet full of values. How do I go through the table quickly and highlight all values over a certain amount? Is there a quick way of doing this?

    ASH
    T2
    T3
    T6
    T8
    T12
    T14
    T15
    T18
    T19
    T22
    T29
    T32
    T35
    T39
    T49
    T52
    T2
    100
    68
    53
    65
    74
    52
    61
    63
    50
    55
    53
    52
    86
    45
    48
    69
    T3
    0.6
    100
    51
    65
    55
    49
    55
    62
    34
    43
    69
    55
    52
    53
    58
    73
    T6
    0.6
    0.3
    100
    68
    83
    74
    63
    60
    65
    32
    55
    62
    66
    76
    63
    71
    T8
    2.6
    0.2
    3.9
    100
    58
    62
    56
    68
    63
    58
    60
    63
    63
    73
    69
    67
    T12
    1.2
    1.9
    2.2
    6.9
    100
    86
    61
    73
    47
    47
    53
    67
    60
    47
    58
    88
    T14
    0.2
    0.8
    3.1
    3.4
    2.3
    100
    62
    64
    38
    60
    60
    56
    51
    37
    56
    74
    T15
    2
    0.6
    2.6
    2.4
    0.3
    9.5
    100
    59
    57
    40
    57
    60
    67
    71
    57
    53
    T18
    2.1
    0.3
    2.2
    5.1
    3.8
    3
    1.6
    100
    71
    68
    50
    31
    70
    63
    55
    58
    T19
    1.2
    1.6
    3
    0.2
    0.5
    3.2
    3.2
    2.3
    100
    60
    56
    65
    48
    47
    58
    56
    T22
    1.2
    0.6
    3.2
    4.7
    2.5
    3.5
    6.5
    5.1
    2.3
    100
    61
    55
    59
    60
    50
    62
    T29
    3.3
    4
    1.6
    3
    1.2
    4.7
    3.7
    3.4
    3.5
    6.3
    100
    53
    51
    67
    47
    68
    T32
    0.1
    1.3
    4.4
    2.4
    2.8
    2.9
    3.7
    0.2
    0.5
    3.1
    0.4
    100
    56
    74
    45
    65
    T35
    4
    3.8
    0.3
    2.9
    0.9
    3.1
    1.8
    0.2
    0.3
    3.5
    5.7
    0.8
    100
    62
    68
    68
    T39
    0.4
    0.7
    1.9
    1
    1.5
    3
    0.4
    0.3
    0.3
    1.5
    0.3
    1.6
    1.8
    100
    70

    Hi Ken
    Use Conditional Format to provide a Cell colour fill or a font colour if the Cell contents exceed a certain value.
    Here is a thread where the question was to highlight values below a certain value, but I think you will get the idea!
    https://discussions.apple.com/thread/5187841?tstart=0
    Regards,
    Ian.

  • Passing selected rows in a table to Popup Iview

    Hi all,
    I have a main iview in which i search and display some data in a table. Users can select multiple rows from the table and upon clicking on a button in the table toolbar, all the selected rows should be passed to a popup iview.
    But, when i tried, only one value is passed to the popup.
    I need to update a set of rows together from the popup iview.
    Is it a limitation of pop iviews in VC, or did i miss out anything?
    I have selected "multiple select" option for the source table.
    Can anyone advice us on this???
    Thanks alot in advance
    Shobin

    Hi Sreeni,
    Thanks alot for your reply.
    As I saw in some forum posts in SDN, multiple data rows can not be passed to a pop up.
    My application has a list of submitted appointment orders which the authorized person can  approve. I wanted a popup in order to provide a confirmation message when the user multi select and approve many AOs together.
    I found a work around without using pop ups. Instead, I used layers to show the confirmation message. I passed the selected rows to another table using signal in and out.
    It works now.
    Thanks alot
    Shobin

  • Hotmail style - select rows in table  (using checkboxes)

    Hi!
    I have a table that is bound to a CachedRowSet.
    Each row in the table has a checkbox. You check each of the row you want to delete, and the click a "delete" button bellow the the table. And the checked rows will be deleted!
    If it is possible, it should also work with paging.
    How do I implement this?
    I still find it hard to understand the JSF way of handling submits, I am use to the old request/response way of do this.
    Regards, Niels Peter

    Hi Niels,
    It is not clear if you are using Sun Java Studio Creator to build your webapplication using JSF. If you are then a sample application called AppModel demonstrates exactly what you are looking for. This is available at:
    http://developers.sun.com/prodtech/javatools/jscreator/reference/codesamples/sampleapps.html
    In case you are not using Creator then you would have to post your query in the appropriate forum as this forum is exclusively for discussions related to Creator.
    Going through the AppModel sample application might still give you an idea if you can download the IDE and run this application.
    Hope this helps
    Cheers
    Giri

Maybe you are looking for