Table row hightlight question.

I have a table with four columns.
When I click on one row, that row should be hightlighted.
The selected row hightlights on three columns but not the one I clicked on.
How do I make it hightlight whole row?
Record should not be editable in my case.
Thanks

Record should not be editable in my case.
table = new JTable(...)
     public boolean isCellEditable(int row, int column)
          return false;
}Once the cell is not editable your highlighting problem will also be fixed.

Similar Messages

  • Table row pagination question: not paginating between rows

    I have a table with 13 rows + 1 header row. Most of the rows contain a single line of text that doesn't wrap, though 4 of the 13 have a single cell with text that wraps (to 3 lines) within the cell. This appears to be just shy of 1/2 page tall. The table is full (single) column width.
    I have the table set as an inline object in the Object Placement inspector tab. (I want it to move with the associated text.)
    In my document, the table is shifting to the top of a new page, leaving about 1/2 page of blank space on the page prior to the table beginning. I don't want this.
    My desired layout is:
    - Start the table immediately after its preceding text
    - Display all the rows it can on that page
    - Re-display the header on the next page
    - Display any remaining rows
    I've tried the following:
    - Checked the Text > More inspector tab to make sure the "Keep lines together" checkbox isn't checked either for the table as a whole (can't be; it's greyed out), or for individual rows (isn't checked.)
    - Tried different Placement > Wrap settings to see if changing it to left/right/above-below affects it (it doesn't);
    - Added additional rows to the table to see if maybe there was just 1 orphan row and Pages didn't want to put 1 orphan on a second page. No go; I grew the table length with a dozen rows to reach 3/4 page in length, and it just kept growing the table (and pushing content) down, but not moving the start of the table "up" to the prior page
    - Added additional rows to the table so that the table itself was > 1 page of rows. This did cause the table to split as I desire, repeating the table header. BUT, it did not move the table up to the prior page as desired.
    - Removed some rows in the table to see if/when Pages would put the table on the prior page (where I want it to be). This worked to move it up earlier, but I do in fact need the removed rows, so this isn't a solution.
    Note that I don't want to split the table manually (if I don't have to), because as I change the content over time, pagination is likely to change, too, and I don't want to have to re-merge the tables when the row-break should change.
    What else should I be looking for? What setting am I missing? Or is Pages (which I mostly love) just not going to let me control where it thinks it wants to start the table?
    Got any other ideas to check?
    -jb

    Jerrold -
    First, thanks for hanging with me on this.
    Second, in re: breaks, no - I already checked that. See:
    Third, in re: removed rows, yes- if I remove the bottom 4 rows, the table snaps back up. See:
    BUT, if I then tab from the bottom-right cell, and add a new row, the table pops back to the next page. See:
    You'll note in the next screen capture that I can add a BUNCH of rows to get it to break across pages for a really-long table; it just won't move my start back up. See:
    This is maddening.... Sigh. Par for the course with iWork; so much promise, yet so immature.

  • Question about table row key

    Hi,
    There is a table named mytable in the JSF page. After I retrieve rows from database and execute the method on one of the rows: System.out.println(mytable.getRowKey());
    the following message is printed on the Jdev console:
    [oracle.jbo.Key[rrpm BK 9712 2 AAAHdMAAWAAAAfZAAG ]]
    That is a composite row key. Now I want to get part of the row key like BK.
    How can I get that?
    Thanks
    Stephen

    Krithika,
    Thanks for the reply.
    To get part of the row key using the substring method is not practical because the length of each part of the row key may change row by row.
    Any other idea to get part of a table row key precisely?
    Thanks
    Stephen

  • How to pass hidden field values on a click of a table row

    hi all,
    href = "bookAndNonBook.do"
    I am very new to struts. I have created a table using displaytable tag which displays results in a tabular format. In addtion, i have a hidden field (prodType), the table rows are getting highlighted when i get my mouse on a particular row.
    Following is the code from the results.jsp file
    <body
    onload="addRowHandlers('row', 'rowMouseOver')"
    bgcolor="#FFFFFF" text="#000000" leftmargin="100" topmargin="50"
    marginwidth="" marginheight="" rightmargin="30">
    <html:form action="/bookAndNonBook" method="post">
    <display:table name="sessionScope.productSearchList" id="row"
    sort="list" export="true" defaultsort="1" defaultorder="ascending"
    pagesize="15" decorator="org.displaytag.decorator.TotalTableDecorator"
    class="dataTable">
    <display:column property="prodType" title="ProdType" class="prodType"
    headerClass="prodType" media="html" />
    <display:column title="Title" property="titleName" sortable="true"
    class="title" headerClass="title" />
    </display:table>
    </html:form>
    </BODY>
    I am calling a funtion addRowHandlers which passes the table id (which is row) and the rowMouseover for highlighting the rows on mouse over.
    the code for function addRowHandlers is
    function addRowHandlers(tableId, rowClassName) {
    var previousClass = null;
    var table = document.getElementById(tableId);
    var rows = table.getElementsByTagName("tr");
    for (i = 1; i < rows.length; i++) {
    rows.onmouseover = function () {
    previousClass = this.className;
    this.className = this.className + " " + rowClassName ;
    this.style.cursor="hand";
    rows.onmouseout = function () {
    this.className = previousClass;
    this.style.cursor='';
    rows.onclick = function (){
    var cell = this.getElementsByTagName("td")[0];
    var ProdType = cell.innerHTML;
    alert("value of prodType = " + ProdType);
    when i run the above code and click on a particular row it returns me the value in the hidden field i.e. prodType for that particular row
    Now where i am having problem is i want that on the basis of prodType my jsp file should call different actions for different prodType as returned....somwhat a function like this
    function submitProduct(prodType) {
    if(prodType == "BK")
    resultsForm.action = "/bookProduct.do";
    else if(prodType == "NB")
    resultsForm.action = "/nonbookProduct.do";
    but i am unable to figure out that how do i this..
    Any help will be really appreciated
    Thanks
    Sam

    can you please suggest some good struts forums where i can post my question
    thanks in advance
    Sam

  • Pl/sql table - row type records

    Hi,
    Is there any limit on the number of records that a pl/sql table (row type) can accomodate.Iam using oracle 10g

    user11200499 wrote:
    I have gone thru that url, nothing on the maximum number of records that can be present in pl/sql table is given there. Will be very helpful if you can let me know if there is any such limitation.There is no such thing as a PL/SQL "+table+". A table, in Oracle terminology, means colums and rows and indexes and the ability to scale data, effectively read and process and filter and aggregate data.
    A so-called PL/SQL "+table+" is nothing at all like this.
    The correct term for it, and used in all other programming languages, are arrays (procedural term) and collections (object orientated term).
    An array/collection is a local memory structure in the unit of code. In PL/SQL, that means PGA (process global area) memory. And as this uses server memory, you should not abuse it and only use as much that is truly needed.
    Make a PL/SQL array/collection too large, and PGA grows.. and can have a very negative impact on performance. It can even cause the server to crawl to halt, where you will struggle to enter a commandline command on the server as it is spending 99% of CPU time trying to deal with memory requests and page swapping.
    So what do we then use arrays/collections for in PL/SQL?
    For the very same reason we use in any other programming language - dealing with managing local programming data in a more effective memory structure. Such as bulk processing when requiring a buffer variable that can be passed to and from the PL and SQL engines.
    This does NOT mean using it as you would use it as if it is a SQL table. As it is not.
    So to answer your question of how large a PL/SQL array or collection can be? That depends entirely on the problem you are trying to solve. If it is for example bulk processing, then typically a collection of a 100 rows provides the best balance between the amount of (expensive) PGA memory being used versus the increase in performance by reducing context switching between the PL and SQL engines.
    If the rows are quite small, perhaps even a 1,000 row collection. More than that seldom decreases context switching enough to justify the increase in expensive PGA.
    So what should then be used to store larger data structures in PL/SQL? GTT or Global Temporary Tables. As this is a proper SQL table structure. Can be indexed. Natively supports SQL. Can scale with data volumes.
    And most importantly, it does not consume dedicated process memory and will not blow server memory.

  • Smartforms  how to print Table rows on to the next page automatically

    if this question is answered pls point to the the link
    SMART forms:
    layout :  Half of my A4 page is filled with templates, a small portion is footer, the middle portion is Table.
    Note: i have set the condition for the footer as (tick the check box) "only after end of main window"
    Output:
                       the template is displayed the table is populated on the first page, no footer on 1st page,
                    on page 2 the table rows are printed (table rows were a lot) and finally footer got printed every thing as per normal
    what i want is:
                     instead of the table lines printed in the middle of page 2 (bcz my main window table is in the middle, top is templates)
                     i want the table lines (after filling the main window table lines in the 1st page) to continue to print from the
                     top of the page on page 2 and immediately after the table rows finish. footer must be printed....
    what should i be doing to get this output

    dear bob,
    yes i have done that already as u said, when i do it......
    i created a new page (next page) directed first page to next page
    on the next page my layout is like below
    removed all the templates dragged the main window to the top of the page...... 
    when i check the result, there is an empty line as the first line in the table (2nd page)
    and also the footer (again a template) on the first page, which is ticked as ( print after end of main window) is NOT displaying.

  • DW CS3 Unexpected table row growth.

    upgraded to CS3 from DW8, DWMX and found the following
    problem with my pages.
    I should say with the way they display in DW CS3.
    The problem is that the row expands in design view to
    accommodate the variable names, unlike previous prevouse versions
    that display the table at its true size.
    In this example:
    <td colspan="2" class="smallbutton"><div
    align="left">
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sFName").Value))%> 
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sMName").Value))%> 
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sLName").Value))%></div>
    </td>
    Under older versions the table row will not grow to
    accommodate each of the fields. But in DW CS3 it does making it
    difficult to design a page.
    Question: How can I turn this off "fix it"?
    Thanks
    Mark this message as the answer.

    In Preferences > Invisible Elements, set "Show dynamic
    text as" to "{}"
    HTH,
    Randy
    > The problem is that the row expands in design view to
    accommodate the variable
    > names, unlike previous prevouse versions that display
    the table at its true
    > size.
    >
    > In this example:
    > <td colspan="2" class="smallbutton"><div
    align="left">
    >
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sFName").Value))%> 
    >
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sMName").Value))%> 
    >
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sLName").Value))%></div>
    > </td>
    >
    > Under older versions the table row will not grow to
    accommodate each of the
    > fields. But in DW CS3 it does making it difficult to
    design a page.
    >
    > Question: How can I turn this off "fix it"?

  • SSRS Table/Row Header does not repeat on every page when exported to PDF

    Hi, I have a SSRS Report in which the rows are grouped and the Tablix has a Table/Row header. I wanted the header to repeat on every page for a group because sometimes the data from the group would be more than one page.
                                   To achieve this
                                   - I went to Advance mode by clicking the arrow next to column group
                                   - Selected the Header Static column from Row Group
                                   - Changed the following properties
                                                    - KeepWithGroup: After
                                                    - RepeatOnNewPage:
    True
                                                    - The header columns
    are set to not grow.
    The problem only occurs when the nested grouped data in one of the columns goes over a page. The following pages don't have any header.
    So half of the time the header row repeats but when the nested grouped data extends over one page the header does not show. Problem only occurs when rendered to pdf.
    I found this line "Headings are repeated on each page only if there is sufficient room" in SQL 2008 version. But I could not find it in later versions of sql server. So does that mean it is fixed

    Hi Mumblesnz1,
    According to your description, you specify value of RepeatOnNewPage as True in the report. When exporting the report to PDF, one grouped data extend over one page, and tablix header display on first page, not repeat on following pages.
    As we tested in our environment(SQL Server 2008(SP3)-10.0.5520.0(X64)), it works as you required. We set KeepWithGroup as After and RepeatOnNewPage as True. After exporting to PDF, the grouped data display on two pages, and tablix header repeats on each
    page. Since we haven’t found any document mentioned this issue is fixed on which version, I suggest you try to install the service pack 3 for sql server 2008.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • How to make a whole table row be read at once?

    Hi,
    I want to make a whole table row be read at once by screenreaders if the table is not editable?
    I tried to use "getAccessibleSelection" and return a own implementation which returns the number of columns at "getAccessibleSelectionCount".
    But if "getAccessibleSelectionCount" return anything else than 1, the method "getAccessibleSelection" is never called.
    Does anybody have a idea or a suggestion to solve this problem?
    Thanks in advance

    Hi AJL,
    If you mean a table of data values in the Data Portal, i.e. a list of channels, then yes you can do it. In that case you should just register load the channels you want to be read-only. You can do this interactively by right-clicking on the data file in question and select "Register data". You can also double-click on the file to select individual channels to load or register. Programmatically, this looks like
    Call DataFileLoad(DataFilename, DataPluginName, ImportAction)
    Setting ImportAction = "Register" will register load the channels. If dragging and dropping the data file loads it correctly, then you can set DataPluginName = "". Otherwise, you can specify there which DataPlugin to use for the import process.
    You can also programmatically selectively load some of the channels from the data source:
    Call DataFileLoadSel(DataFilename, FileImportFilter, ImportSelection, ImportAction)
    The "ImportSelection" parameter works just like the CNo() function in DIAdem:
    "GroupName/ChannelName"
    "GroupName/[ChannelIndex]"
    "[GroupIndex]/ChannelName"
    "[GroupIndex]/[ChannelIndex]"
    If, on the other hand, you mean a read-only table in the REPORT panel, your options are limited, though you can do that with a SUDialog.
    Regards,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Ajx problem with jsp .not able to show  ajax response data in table rows

    hi evryone
    i m new to ajax .i m not able solve this problem .pls help if anyone understood my problem
    probelm scenario is like this:
    take a example of shopping page where a field amount changes every time (time interval) ,the amount data is coming from database .ok...
    this i m trying to do with ajax and want to display the value in table rows one by one ..but response whihc i m getting is different .....same value is diaplying in evry rows .which i dont want
    the output it coming now is:like this
    item amount
    item 1 20
    item2 20
    item 3 20
    i want like thi s
    item amount
    item 1 20
    item2 30
    item 3 40
    even in database the value is 20,30,40
    here is the code of two jsp page
    one is ajaxitem_amount.jsp
    <%
    try
    stmt3 = con.createStatement();
    String itemQ="select item_ref_id,quantity from item_master where shop_ref_id="+shopid+" and (status is null or status<>'w') order by item_ref_id";
    //out.println(railQ);
    rs_details=stmt3.executeQuery(itemQ);
    while(rs_details.next())
    item2 = rs_details.getInt("ITEM_REF_ID");
    v.add(new Integer(item2));
    String aString = Integer.toString(item2);
    itemids.add(aString);
    Enumeration enum = v.elements();
    for (j=0; j<v.size(); j++)
    //out.println("v[" + j + "] = " + v.elementAt(j));
    sql3="select max(shop_amount) from shop_floor_temp where item_ref_id="+v.elementAt(j);
    rs_bid=stmt3.executeQuery(sql3);
    if(rs_price.next())
    last_price=rs_price.getDouble(1);
    if(last_price != 0)
    lprice= last_price;
    else
    lprice=1;
    out.print("<response>");
    out.print(lprice+"|");
    out.print("</response>");
    out.print("\n");
    catch(Exception ex)
    out.print("ERROR"+ex);
    // out.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
    _another is main shopping
    <td bgcolor="#C5B9AB" width="10%" align="center">
    <strong><font face="Verdana" size="2">Last price</font></strong>
    int tabrowcounter=0;
    while(rs_details.next())//some query
    tabrowcounter++;
    //*some more data is displayed here one by one all are working instead of this which i am calling from another page ajaxitem_amount.jsp page*
    <td bgcolor='<%=colorjava%>' width="50%" align="center">
    <div id="responseimage<%=tabrowcounter%>"></div>
    <div id="responseOutput<%=tabrowcounter%>"></div>
    <SCRIPT LANGUAGE="JavaScript">
    function createXHR<%=tabrowcounter%>()
    try { return new XMLHttpRequest(); } catch(e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP.6.0"); } catch (e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP.3.0"); } catch (e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {}
    try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}
    alert("XMLHttpRequest not supported");
    return null;
    function sendRequest<%=tabrowcounter%>()
    document.getElementById('responseimage<%=tabrowcounter%>').innerHTML ="<IMG SRC='load.gif'> ";
    document.getElementById('responseimage<%=tabrowcounter%>').style.display = 'block';
    document.getElementById('responseOutput<%=tabrowcounter%>').style.display = 'none'
    var url="ajaxauct_floor.jsp";
    var xhr = createXHR<%=tabrowcounter%>();
    if (xhr)
    xhr.open("get",url,true);
    xhr.onreadystatechange = function()
    handleResponse<%=tabrowcounter%>(xhr);
    xhr.send(null);
    function handleResponse<%=tabrowcounter%>(xhr)
    if (xhr.readyState == 4 && xhr.status == 200)
    try
    var data = xhr.responseText.split("|");
    //document.write(data);
    //updatePage<%=tabrowcounter%>(xhr.responseText);
    //document.write(xhr.responseText);
    setTimeout('sendRequest<%=tabrowcounter%>()',10000);
    for(var x=0;x<data.length-1;x++)
    //alert(data);
    document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[x];
    document.getElementById('responseimage<%=tabrowcounter%>').style.display = 'none'; // HIDE
    document.getElementById('responseOutput<%=tabrowcounter%>').style.display = 'block'
    //document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[0];
    //document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[0];
    catch(e)
    alert('1 '+e)
    sendRequest<%=tabrowcounter%>();
    </SCRIPT>
    </td>
    </tr></table>
    if anyone have understood my problem pls help me .i have tried lot but not working .anyone genius here ?thnak you

    thanks baluc
    thanks for correcting me and giving me a good advice .anyway i m trying make you understand once again ...
    if you have understood this time please do reply .else i m sorry for placing wrong question ....
    hi everyone
    I m new to Ajax .I m not able solve this problem .pals help if anyone understood my problem
    problem scenario is like this:
    take a example of shopping page where a field amount changes every time (time interval) ,the amount field* (this data is coming from database )
    this I m trying to do with Ajax and want to display the value in table rows one by one ..But response which I m getting is different.....same value is displaying in every rows .which I don't want
    The output it coming now is: like this
    item amount
    item 1 20
    item2 20
    item 3 20
    I want like this s
    item amount
    item 1 20
    item2 30
    item 3 40
    even in database the value is 20,30,40
    here is the code of jsp page
    one page is ajaxitemamount.jsp_*
    <%
    try
    stmt3 = con.createStatement();
    String itemQ="select item_ref_id,quantity from item_master where shop_ref_id="+shopid+" and (status is null or status<>'w') order by item_ref_id";
    //out.println(railQ);
    rs_details=stmt3.executeQuery(itemQ);
    while(rs_details.next())
    item2 = rs_details.getInt("ITEM_REF_ID");
    v.add(new Integer(item2));
    String aString = Integer.toString(item2);
    itemids.add(aString);
    Enumeration enum = v.elements();
    for (j=0; j<v.size(); j++)
    //out.println("v[" + j + "] = " + v.elementAt(j));
    sql3="select max(shop_amount) from shop_floor_temp where item_ref_id="+v.elementAt(j);
    rs_bid=stmt3.executeQuery(sql3);
    if(rs_price.next())
    last_price=rs_price.getDouble(1);
    if(last_price != 0)
    lprice= last_price;
    else
    lprice=1;
    out.print("<response>");
    out.print(lprice+"|");
    out.print("</response>");
    out.print("\n");
    catch(Exception ex)
    out.print("ERROR"+ex);
    // out.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
    another is main shopping page page 2*
    <td bgcolor="#C5B9AB" width="10%" align="center">
    <strong><font face="Verdana" size="2">Last price</font></strong>
    int tabrowcounter=0;
    while(rs_details.next())//some query
    tabrowcounter++;
    <td bgcolor='<%=colorjava%>' width="50%" align="center">
    <div id="responseimage<%=tabrowcounter%>"></div>
    <div id="responseOutput<%=tabrowcounter%>"></div>
    <SCRIPT LANGUAGE="JavaScript">
    function createXHR<%=tabrowcounter%>()
    try { return new XMLHttpRequest(); } catch(e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP.6.0"); } catch (e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP.3.0"); } catch (e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {}
    try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}
    alert("XMLHttpRequest not supported");
    return null;
    function sendRequest<%=tabrowcounter%>()
    document.getElementById('responseimage<%=tabrowcounter%>').innerHTML ="<IMG SRC='load.gif'> ";
    document.getElementById('responseimage<%=tabrowcounter%>').style.display = 'block';
    document.getElementById('responseOutput<%=tabrowcounter%>').style.display = 'none'
    var url="ajaxauct_floor.jsp";
    var xhr = createXHR<%=tabrowcounter%>();
    if (xhr)
    xhr.open("get",url,true);
    xhr.onreadystatechange = function()
    handleResponse<%=tabrowcounter%>(xhr);
    xhr.send(null);
    function handleResponse<%=tabrowcounter%>(xhr)
    if (xhr.readyState == 4 && xhr.status == 200)
    try
    var data = xhr.responseText.split("|");
    //document.write(data);
    //updatePage<%=tabrowcounter%>(xhr.responseText);
    //document.write(xhr.responseText);
    setTimeout('sendRequest<%=tabrowcounter%>()',10000);
    for(var x=0;x<data.length-1;x++)
    //alert(data);
    document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[x];
    document.getElementById('responseimage<%=tabrowcounter%>').style.display = 'none'; // HIDE
    document.getElementById('responseOutput<%=tabrowcounter%>').style.display = 'block'
    //document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[0];
    //document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[0];
    catch(e)
    alert('1 '+e)
    sendRequest<%=tabrowcounter%>();
    </SCRIPT>
    </td>
    </tr></table>
    if anyone have understood my problem please help me .i have tried lot but not working .anyone genius here ?thank you

  • Scripting for different numbers of table rows in cs3

    As always thank you for the help.
    My question: is there a simple newbie way to script for stroke placements when the numbers of rows in the category between the stroke will vary. I have not even attempted to script this style, as frankly I don't know where to start, but here is an explanation of what I need:
    The table foodstuff contains:
    animal, vegetable, fruit
    Under animal there is:
    beef, lamb, pork, poultry
    Under vegetable there is:
    potato, pepper, onion
    Under fruit there is:
    orange
    If wanted a line under each category, ie after poultry, after onion, and after orange how would I go about it.
    Thank you to all who have helped me so far, either by reading answers to other people's queries, or by responding directly to my own

    Interesting ... I don't think there is a newbie-level answer to this challenge. It comes down to finding the first (left-to-right) cell that contains text, and adding a line on top of it all the way to the last cell in that row.
    Here's a first attempt:
    table = app.selection[0];
    if (table.hasOwnProperty("baseline"))
    table = table.parent;
    if (table instanceof Cell)
    table = table.parent;
    if (table instanceof Column)
    table = table.parent;
    if (table instanceof Row)
    table = table.parent;
    if (table instanceof Table)
    table.cells.everyItem().properties = {topEdgeStrokeWeight:0, bottomEdgeStrokeWeight:0, leftEdgeStrokeWeight:0, rightEdgeStrokeWeight:0};
    table.rows.lastItem().bottomEdgeStrokeWeight = 1;
    for (r=0; r<table.rows.length; r++)
      for (c=0; c<table.rows[r].cells.length; c++)
       if (table.rows[r].cells[c].contents)
        for (; c<table.rows[r].cells.length; c++)
         table.rows[r].cells[c].topEdgeStrokeWeight = 1;
        break;
    } else
    alert ("You were supposed to be somewhere inside a Table");

  • Table row change color on hover

    Hi,
    I don't know if it's possible to change table row color on mouse hover, I've been looking at skin-selectors (http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/skin-selectors.html#Global%20Selectors) and I haven't found any row style class for af:table Component... if anyone knows how to achieve this I would be thankful.

    Hi,
    I replied to the other question of yours. I don't think this is possible because the row is not a component that can have a style applied to it. You may be more successful in applying the CSS to the components (outputText or inputText) on the table cells.
    Frank

  • Break table row across multiple frames?

    Hi
    I would know wether is possible to split a single table row across serverla frames/pages.
    I´m using InDesign CS5 and when I try to import a big table from word documments (by using de app or by scripting), if a row is bigger than the textFrame, a blank page is generated with the overflow simbol.
    The only way to see that table is by enlarging the textFrame.
    I´ve been reading about this problem, and some news in 2004 reported it was a problem wich will be solved in next releases.
    Is there any way to work arround?
    One option is to split de row in several small rows, but I think the proper solution would be to let the row jump to the next TextFrame (just like word does)
    Thanks in advance

    I can show you a real example.
    http://www.xunta.es/dog/Publicados/2011/20110615/AnuncioC3F1-140611-3147_gl.pdf
    In page 14984 the row with the text "Coruña" span across two pages. Well, in this example, what we did was to convert the table in images. Then the images were put inside each page in InDesign.
    This cell is too big to fit in a frameText and it was shown as empty.
    Other option would be to split the row before the imporation. In this way, InDesign would, automatically jump to the next page.
    The question was if there was any configuration option to implement all this solutions (change the table or convert it to text) without change the table structure.
    Any way, thansk again.

  • Table row colour loading problem

    Hi,
    Thanks for your time.
    I want to display table row colour dynamically based on table data.
    Am able to achieve it partially as below,when I scroll the table the loaded colour dissappears.
    I use the below code:-
    template: new sap.ui.commons.TextView().bindProperty("text","objectivecategory",function(category){
      if(category=="Operational"){
      backgroundColor='#fff2cb';
      backgroundColorClass ="operationColor"
      else if(category=="Strategic"){
      backgroundColor='#e8f5fe';
      }else{
      backgroundColor='#ecf6c1';
               cellId = this.getId(); 
               //alert("cellId"+cellId);
               $("#"+cellId).parent().parent().parent().css("background-color",backgroundColor);

    Hi Velu
    Here is an example
    Hope this answer your question.
    -D

  • Looking for an Example of ShowHide in a Table Row

    JDev 9.0.5.2 ADF UIX
    Does anyone have example code for the ShowHide component in a table row?

    I did search the forum and there are no examples given for a table row. Many people have asked similar questions and have never received answers. I have searched the help documents and I looked at the UIX components guide. The component guide app gives an example of using showhide but not for a table row. The documentation says it can be done but I can't figure out how to do it. I don't use JHeadstart so I would like to see example uix code of how to get this to work.
    Thanks for any help.

Maybe you are looking for

  • Animated GIF problem saving for web in CS6

    I made an animated gif in CS6 and trying to save it for the web. The duration of the animation is pretty long, about 44 seconds. After 17 seconds the animation stops while the saving was completed. How can I solve this problem? The file is too large

  • How to instantiate an object in a JSP page???

    I want from a JSP page instantiate an object from a client class, for example, and call its methods; one of these methods return me a RecordSet. But I don't having success on it. What am I doing wrong??? What would I do??? Have anybody a code sample?

  • How to extract data from database to XSLT?

    I want to generate a report by XSLT, but the data is extracted from the database. I will use Access/SQL server for my database. Can i write SQL in XSLT to extract data from database? Have any sample code or reference website to show how it work? THX

  • Wrong Hard Disc Drive size

    Hello everyone, I have a 2011 MacBook Pro (2,3GHz i5, 8GB RAM, 320GB HDD, OS 10.8.3). I recently learned that the remaining capacity on my internal HDD is not shown in the right way: If I open the HDD with "preview" (spacebar) or the utility "activit

  • Essbase migration (from backup)

    Gurus, In the environment I work in, we backup Essbase everyday. We have script to backup all the artifacts, such as essbase.sec, essbase.bak, essbase.cfg, .otl, .csc, .rep, .rul, etc. We have several cubes in Essbase and we are supposed to recreate