Selected Table Cell Border in 1.4.2

Hi All!!
I am facing a problem with JDK 1.4.2_01 & Windows L&F. I am unable to see the yellow border around the selected cell in JTable. Was working fine with 1.4.1_03.
A bug with id: 4674205 was reported with 1.4.0 stating :
" In the Windows Look and Feel, the selected cell in a JTree or JTable is framed with a yellow rectangle. To accurately match the real Windows UI, it should be a black and white dotted rectangle instead. (This was part of bug 4268204,which was marked fixed, but this part hasn't been fixed.) This behavior was fixed for JList, but not JTree or JTable. "
Now it has been fixed and closed.
May be they might have removed setting of yellow border for the selected cell to match with native windows UI.
But selected cell border is very much necessary for my project. Can any one please suggest me a workaround.
With Regards,
LRK

Hi Sai!
Thanks for your reply. It will not be feasible in my application as it already has huge number of tables with some of them already having complex renderers and editors.
I was looking at something which i can set globally so that it will reflect to all of the tables in the application in a particular L&F.
I tried setting
UIManager.getDefaults().put("Table.focusCellHighlightBorder",Color.yellow);
and
UIManager.put("Table.focusCellHighlightBorder",Color.yellow);
But no luck.
Any other inputs are most welcome.
With Regards,
LRK

Similar Messages

  • Can't select table cell with big css table border

    Hi
    When I create a table with a border in css, bigger than 6px,
    I can't select a cell or even put text in it, other than in the
    code window. Can you explain or help ?

    Yeah? Sure .. I will .. thanks!
    Nancy
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:ea56v5$3gc$[email protected]..
    > Try it Nancy. The OP is correct. It's a bug.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Nancy *Adobe Community Expert*"
    <[email protected]> wrote in message
    > news:ea56t5$3d3$[email protected]..
    >> Have you tried clicking within the area and then
    selecting the tag you
    >> want in the tag selector at the bottom of the
    document window?
    >>
    >>
    >> --
    >> Nancy Gill
    >> Adobe Community Expert
    >> BLOG:
    http://www.dmxwishes.com/blog.asp
    >> Author: Dreamweaver 8 e-book for the DMX Zone
    >> Co-Author: Dreamweaver MX: Instant Troubleshooter
    (August, 2003)
    >> Technical Editor: DMX 2004: The Complete Reference,
    DMX 2004: A
    >> Beginner's
    >> Guide, Mastering Macromedia Contribute
    >> Technical Reviewer: Dynamic Dreamweaver MX/DMX:
    Advanced PHP Web
    >> Development
    >>
    >>
    >> "mchb" <[email protected]> wrote
    in message
    >> news:ea56dd$2q2$[email protected]..
    >>> Hi
    >>>
    >>> When I create a table with a border in css,
    bigger than 6px, I can't
    >>> select a cell or even put text in it, other than
    in the code window. Can
    >>> you explain or help ?
    >>
    >>
    >
    >

  • Coloring of selected table cells: Ideas wanted

    Hi there,
    for a WD ABAP component to be re-used in various scenarios my customer seek the most comfortable and fency way to color table cells which have been selected first.
    I am almost sure that there is no UI Control in ABAP WD which allows the selction of cells in a grid, pane, table whatever, right?
    Most suitable would be if the cell itself can be selected and then some image within is beeing displayed or even a background color is set.
    I looked into placing a button and image in UI Pane or table/ALV cells but not 100% statisfied with it.
    Is there a better way in order to "simulate" the described requirement?
    As always, the best idea will get the point
    Regards
    Carsten

    Thanks for the tips. Both helped very much.
    I implemented the simple  Table UI because which was sufficient for us but the ALV example is very useful also.
    But related to this I have another question:
    My first the coding didn't work because my Table UI already had a (static) value assigned to it's design property.
    In this case, although I have assigned a dynamic WD_UI_CELL_DESIGN context attribute to the cellDesign property of it didn't show the color.
    Only after the Table design property was set to 'standard' the cell displayed the color.
    Does anyone know what the reason for this is?
    In my opinion any design value applied to the cellDesign property should overrie the inherited table design property. My release already is NW 7.01 so it not seems to be fixed via EhP.
    Regards
    Carsten

  • What is the trick to selecting table cells?

    I have a table whose construction and styling is underway; it is very hit or miss to select all or part of that table. Can anyone suggest a trick to make table cel selection more certain?
    Sometimes I get the little fat arrow and sometimes I don't..
    thank you!

    If on windows, use the "esc" button to select the cell or the text. If you select a cell, use the arrow keys to select more cells. Whole table, select one cell then "Ctrl A" to select all the table. The fat arrow is the same as the one in Word, it's sometimes driving me crazy too.

  • Adjusting Space between table - cell border and cell content ?

    Hi all,
    Need a quick help.
    I am using a static table. By default, I have some space between the cell content and the text (yes, the cell margins).
    I wanted to reduce this space to '0'.
    Is there any option to adjust the cell margins? Thanks in advance !!
    1 more Q:-
    There are no options to merge 2 cells, are there ?
    Thanks,
    Navin.
    Edited by: 890074 on Mar 4, 2012 10:17 PM

    Hi Naveen,
    Until Documaker 11.5, there are no options to reduce the cell margin and no options to merge cells as well.
    Thanks.

  • Table cell with invisible border?

    Hi,
    I am trying to get table-cells with e.g. the right
    border missing (invisible). I am using the
    following XSL-FO to get this:
    <fo:table-cell border="solid black 1px" border-right-width="0px" border-collapse="collapse" number-columns-spanned="1">
    This works fine with four different
    XSL-FO engines, but XMLP shows
    the right border. Is there a work around
    or different approach to get invisible
    borders?
    Thank you,
    Heinz

    Hi Tim,
    I am using an RTF template, but was not able to get
    what I need with the standard functionality available
    in the RTF template. To work around this, I have
    imported a stylesheet to create the FO for the table
    directly. I try to append to this mail:
    - code in the RTF template
    - XML sample data
    - stylesheet imported from RTF template
    - the generated FO (small table, 4 colums, 7 rows, plus headers)
    I could also provide a stylesheet to create a complete,
    self containing FO and a correct PDF output, but may
    direct mail would be better for this.
    Thank you,
    Heinz
    TemplateBuilder.RTF:
    <?start:body?>
    <?import: file:///F:/OracleForum/create_a_table.xsl?>
    <?for-each:/Sample_Data/Measured_Values?>
    <?call@inlines: parameterGroupIndividual?><?end call?>
    <?end for-each?>
    <?end body?>
    XML Data:
    <?xml version="1.0" encoding="UTF-8"?>
    <Sample_Data>
         <Measured_Values>
              <Param_Group>GENERAL PARAMGROUP<Parameter Unit="umol/l">BILIU<Item Measured="6.8">1</Item>
                        <Item Measured="8.2">2</Item>
                        <Item Measured="-">3<Value_Note>
                                  <number>*</number>
                                  <text>A sample footnote</text>
                             </Value_Note>
                        </Item>
                        <Item Measured="62.1">4</Item>
                        <Item Measured="215.9">5</Item>
                        <Item Measured="12.7">6<Item_Note>
                                  <number>a</number>
                                  <text>An Item footnote</text>
                             </Item_Note>
                        </Item>
                        <Item Measured="3.6">7</Item>
                   </Parameter>
                   <Parameter Unit="per ul">ERYU<Item Measured="7.210">1</Item>
                        <Item Measured="45.000">2<Value_Note>
                                  <number>**</number>
                                  <text>Another sample footnote</text>
                             </Value_Note>
                        </Item>
                        <Item Measured="-">3</Item>
                        <Item Measured="1234.000">4</Item>
                        <Item Measured="326.580">5</Item>
                        <Item Measured="3.658">6</Item>
                        <Item Measured="123.540">7</Item>
                   </Parameter>
                   <Parameter Unit="per ul">LEUU<Item Measured="3.00">1</Item>
                        <Item Measured="3.00">2</Item>
                        <Item Measured="-">3</Item>
                        <Item Measured="354.39">4</Item>
                        <Item Measured="3254.24">5</Item>
                        <Item Measured="1256.32">6</Item>
                        <Item Measured="326.54">7</Item>
                   </Parameter>
              </Param_Group>
              <Param_Group>CRYSTALS<Parameter Unit="umol/l">GLUHI<Item Measured="22.00">1</Item>
                        <Item Measured="5.12">2</Item>
                        <Item Measured="-">3</Item>
                        <Item Measured="23.14">4<Value_Note>
                                  <number>***</number>
                                  <text>A last footnote</text>
                             </Value_Note>
                        </Item>
                        <Item Measured="576.26">5</Item>
                        <Item Measured="3621.00">6</Item>
                        <Item Measured="0.37">7</Item>
                   </Parameter>
              </Param_Group>
         </Measured_Values>
    </Sample_Data>
    create_a_table.xsl:
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes">
         <xsl:output method="xml" version="1.0" indent="no" encoding="ISO-8859-1"/>
         <!-- -->
         <xsl:template name="parameterGroupIndividual">
              <xsl:call-template name="doParameterGroupTables">
                   <xsl:with-param name="currentNodeSet" select="*"/>
                   <xsl:with-param name="currentNodeChilds" select="*[1]/Parameter"/>
              </xsl:call-template>
         </xsl:template>
         <!-- -->
         <xsl:template name="doParameterGroupTables">
              <xsl:param name="currentNodeSet"/>
              <xsl:param name="currentNodeChilds"/>
              <fo:table border="solid black 1px" table-layout="fixed">
                   <!-- The "Item" column -->
                   <fo:table-column column-width="2.5cm"/>
                   <!-- Create required columns 80% space for values, 20% space for footnotes -->
                   <xsl:call-template name="defineColumnsForNode">
                        <xsl:with-param name="nodeSet" select="$currentNodeSet"/>
                        <xsl:with-param name="nodeSetChilds" select="$currentNodeChilds"/>
                        <xsl:with-param name="colWidth" select="2.4"/>
                   </xsl:call-template>
                   <fo:table-header>
                        <fo:table-row>
                             <fo:table-cell border="solid black 0px" border-collapse="collapse" number-columns-spanned="1">
                                  <fo:block> </fo:block>
                             </fo:table-cell>
                             <xsl:call-template name="doParameterGroupHeaders">
                                  <xsl:with-param name="nodeSet" select="$currentNodeSet"/>
                             </xsl:call-template>
                        </fo:table-row>
                        <fo:table-row>
                             <fo:table-cell>
                                  <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">Item</fo:block>
                             </fo:table-cell>
                             <xsl:call-template name="defineSecondRowOfHeaders">
                                  <xsl:with-param name="nodeSet" select="$currentNodeSet"/>
                                  <xsl:with-param name="nodeSetChilds" select="$currentNodeChilds"/>
                             </xsl:call-template>
                        </fo:table-row>
                   </fo:table-header>
                   <fo:table-body>
                        <xsl:for-each-group select="*/Parameter/Item" group-by="normalize-space(text())">
                             <fo:table-row>
                                  <fo:table-cell border="solid black 2px" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center">
                                            <xsl:value-of select="./text()"/>
                                       </fo:block>
                                  </fo:table-cell>
                                  <xsl:for-each select="current-group()">
                                       <fo:table-cell border="solid black 2px" border-left-width="1px" border-collapse="collapse" number-columns-spanned="1">
                                            <fo:block font-family="sans-serif" font-size="9pt" text-align="right">
                                                 <xsl:value-of select="./@Measured"/>
                                            </fo:block>
                                       </fo:table-cell>
                                       <fo:table-cell border="solid black 2px" border-right-width="1px" border-collapse="collapse" number-columns-spanned="1">
                                            <fo:block font-family="sans-serif" font-size="9pt" text-align="left">
                                                 <xsl:value-of select="./Value_Note/number/text()"/>
                                            </fo:block>
                                       </fo:table-cell>
                                  </xsl:for-each>
                             </fo:table-row>
                        </xsl:for-each-group>
                   </fo:table-body>
              </fo:table>
         </xsl:template>
         <!-- -->
         <xsl:template name="doParameterGroupHeaders">
              <xsl:param name="nodeSet"/>
              <xsl:if test="$nodeSet[1]">
                   <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="{count($nodeSet[1]/Parameter)*2}">
                        <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">
                             <xsl:value-of select="$nodeSet[1]/text()"/>
                        </fo:block>
                   </fo:table-cell>
                   <xsl:call-template name="doParameterGroupHeaders">
                        <xsl:with-param name="nodeSet" select="$nodeSet[1]/following-sibling::*"/>
                   </xsl:call-template>
              </xsl:if>
         </xsl:template>
         <!-- -->
         <xsl:template name="defineSecondRowOfHeaders">
              <xsl:param name="nodeSet"/>
              <xsl:param name="nodeSetChilds"/>
              <xsl:choose>
                   <xsl:when test="$nodeSetChilds[1]">
                        <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="2">
                             <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">
                                  <xsl:value-of select="$nodeSetChilds[1]/text()"/>
                             </fo:block>
                             <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">
                                  <xsl:value-of select="$nodeSetChilds[1]/@Unit"/>
                             </fo:block>
                        </fo:table-cell>
                        <xsl:call-template name="defineSecondRowOfHeaders">
                             <xsl:with-param name="nodeSet" select="$nodeSet"/>
                             <xsl:with-param name="nodeSetChilds" select="$nodeSetChilds[1]/following-sibling::*"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:when test="$nodeSet[1]/following-sibling::*">
                        <xsl:call-template name="defineSecondRowOfHeaders">
                             <xsl:with-param name="nodeSet" select="$nodeSet[1]/following-sibling::*"/>
                             <xsl:with-param name="nodeSetChilds" select="$nodeSet[1]/following-sibling::*[1]/Parameter"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:otherwise>
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
         <!-- -->
         <xsl:template name="setValuesPGroupChilds">
              <xsl:param name="nodeSet"/>
              <xsl:param name="nodeSetChilds"/>
              <xsl:param name="ItemNumber"/>
              <xsl:choose>
                   <xsl:when test="$nodeSetChilds[1]/Item[text()=$ItemNumber]">
                        <fo:table-cell border="solid black 1px" border-right-width="0px" border-collapse="collapse" number-columns-spanned="1">
                             <fo:block font-family="sans-serif" font-size="9pt" text-align="right">
                                  <xsl:value-of select="$nodeSetChilds[1]/Item[text()=$ItemNumber]/@Measured"/>
                             </fo:block>
                        </fo:table-cell>
                        <fo:table-cell border="solid black 1px" border-left-width="0px" border-collapse="collapse" number-columns-spanned="1">
                             <fo:block font-family="sans-serif" font-size="9pt" text-align="left">
                                  <xsl:value-of select="$nodeSetChilds[1]/Item[text()=$ItemNumber]/Value_Note/number/text()"/>
                             </fo:block>
                        </fo:table-cell>
                        <xsl:call-template name="setValuesPGroupChilds">
                             <xsl:with-param name="nodeSet" select="$nodeSet"/>
                             <xsl:with-param name="nodeSetChilds" select="$nodeSetChilds[1]/following-sibling::*"/>
                             <xsl:with-param name="ItemNumber" select="$ItemNumber"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:when test="$nodeSet[1]/following-sibling::*">
                        <xsl:call-template name="setValuesPGroupChilds">
                             <xsl:with-param name="nodeSet" select="$nodeSet[1]/following-sibling::*"/>
                             <xsl:with-param name="nodeSetChilds" select="$nodeSet[1]/following-sibling::*[1]/Parameter"/>
                             <xsl:with-param name="ItemNumber" select="$ItemNumber"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:otherwise>
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
         <!-- -->
         <xsl:template name="defineColumnsForNode">
              <xsl:param name="nodeSet"/>
              <xsl:param name="nodeSetChilds"/>
              <xsl:param name="colWidth"/>
              <xsl:choose>
                   <xsl:when test="$nodeSetChilds[1]">
                        <fo:table-column column-width="{$colWidth*0.8}cm"/>
                        <fo:table-column column-width="{$colWidth*0.2}cm"/>
                        <xsl:call-template name="defineColumnsForNode">
                             <xsl:with-param name="nodeSet" select="$nodeSet"/>
                             <xsl:with-param name="nodeSetChilds" select="$nodeSetChilds[1]/following-sibling::*"/>
                             <xsl:with-param name="colWidth" select="$colWidth"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:when test="$nodeSet[1]/following-sibling::*">
                        <xsl:call-template name="defineColumnsForNode">
                             <xsl:with-param name="nodeSet" select="$nodeSet[1]/following-sibling::*"/>
                             <xsl:with-param name="nodeSetChilds" select="$nodeSet[1]/following-sibling::*[1]/Parameter"/>
                             <xsl:with-param name="colWidth" select="$colWidth"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:otherwise>
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
         <!-- -->
         <!-- create $noOfCols empty table-cells -->
         <!-- -->
         <xsl:template name="fillColumns">
              <xsl:param name="noOfCols"/>
              <xsl:if test="$noOfCols > 0">
                   <fo:table-cell border-right-style="dashed" border-left-style="dashed" border-width="1px">
                        <fo:block/>
                   </fo:table-cell>
                   <xsl:variable name="rest" select="$noOfCols - 1"/>
                   <xsl:call-template name="fillColumns">
                        <xsl:with-param name="noOfCols" select="$rest"/>
                   </xsl:call-template>
              </xsl:if>
         </xsl:template>
    </xsl:stylesheet>
                   <fo:table border="solid black 1px" table-layout="fixed">
                        <fo:table-column column-width="2.5cm"/>
                        <fo:table-column column-width="1.92cm"/>
                        <fo:table-column column-width="0.48cm"/>
                        <fo:table-column column-width="1.92cm"/>
                        <fo:table-column column-width="0.48cm"/>
                        <fo:table-column column-width="1.92cm"/>
                        <fo:table-column column-width="0.48cm"/>
                        <fo:table-column column-width="1.92cm"/>
                        <fo:table-column column-width="0.48cm"/>
                        <fo:table-header>
                             <fo:table-row>
                                  <fo:table-cell border="solid black 0px" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block> </fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="6">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">GENERAL PARAMGROUP</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="2">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">CRYSTALS</fo:block>
                                  </fo:table-cell>
                             </fo:table-row>
                             <fo:table-row>
                                  <fo:table-cell>
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">Item</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="2">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">BILIU</fo:block>
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">umol/l</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="2">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">ERYU</fo:block>
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">per ul</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="2">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">LEUU</fo:block>
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">per ul</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="2">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">GLUHI</fo:block>
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center" font-weight="bold">umol/l</fo:block>
                                  </fo:table-cell>
                             </fo:table-row>
                        </fo:table-header>
                        <fo:table-body>
                             <fo:table-row>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center">1</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">6.8</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">7.210</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">3.00</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">22.00</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                             </fo:table-row>
                             <fo:table-row>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center">2</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">8.2</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">45.000</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left">**</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">3.00</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">5.12</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                             </fo:table-row>
                             <fo:table-row>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center">3</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">-</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left">*</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">-</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">-</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">-</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                             </fo:table-row>
                             <fo:table-row>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center">4</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">62.1</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">1234.000</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">354.39</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">23.14</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left">***</fo:block>
                                  </fo:table-cell>
                             </fo:table-row>
                             <fo:table-row>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center">5</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">215.9</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">326.580</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">3254.24</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">576.26</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                             </fo:table-row>
                             <fo:table-row>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center">6</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">12.7</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">3.658</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">1256.32</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">3621.00</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                             </fo:table-row>
                             <fo:table-row>
                                  <fo:table-cell border="solid black 1px" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="center">7</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">3.6</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">123.540</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">326.54</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-end-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="right">0.37</fo:block>
                                  </fo:table-cell>
                                  <fo:table-cell border="solid black 1px" border-start-style="none" border-collapse="collapse" number-columns-spanned="1">
                                       <fo:block font-family="sans-serif" font-size="9pt" text-align="left"/>
                                  </fo:table-cell>
                             </fo:table-row>
                        </fo:table-body>
                   </fo:table>

  • Colspan and rowspan attributes in table cells

    Is there a way to add 'colspan' or 'rowspan' attributes to a cell in a table using the RoboHelp UI? Of course, it's very simple to just edit the HTML directly, but I'm preparing documents that will be used in the future by executives, and like most executives they are barely computer-literate.

    Hi there
    In the RoboHelp HTML UI, the author selects the affected cells and chooses to merge them by either clicking the Table menu and choosing Table > Merge Cells or by clicking the Merge Selected Table Cells icon in the Tables and Borders toolbar.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • Table cell selection border

    hi,
    how can you find out the default color of the table cell renderer border?
    when you select a cell in a JTable, there's (by default) a thin border drawn around it. since i use my own renderer for some columns, i need to find out the color of this border (it is differnt for different look & feels).
    thanksout the default

    you were right. thank you.
    just one more thing: where can i find the names of all those properties that the UIManager uses? like the one you used "Table.focusCellHighlightBorder"...

  • Cell border selection problem

    I have a spreadsheet that is a week at a glance schedule for a dance school. There are three columns per day, each representing a different studio location. Each row represents a 15 minute block time. I have been trying to create a border for each class (class times vary from 45 minutes to 2 hours) while leaving the in-between lines blank. For each 45 minute class, I select the three cells in a column, scroll down the border selection tool and select the outside border icon, next select the type of line, then the weight, finally the color, and so on. Once I get about 50% done working my way across the spreadsheet, buggy things start to happen. For example, a horizontal line will extend across several columns, sometimes intersecting previously defined class blocks. If I try removing the errand lines, then all the frames that do require a border at that position get their border errased. I them have to go back to those cells to re-assign a border segment, but then the unwanted horizontal line will reappear in the blank cells again. Very frustrating. Also, in my opinion, there are some cell frame options that are missing in this program. I t would be nice to have a button to select the top and bottom of a frame or group of frames at the same time. At present, you have to first select the top border, format it, then the bottom border and format it. Same goes for left and tight border sections. You can't select the two outside edges to apply the same style/thickness/color. Excel's border formatting commands are much better in this regard.
    Title was edited by: Host

    Hi Jim,
    I played around with the border options today and although I didn't have the borders going where they were not wanted I understand your frustration having to set either all four or just one border at a time.
    Just as an option, would filling the sets of cells with a light colour for each class work better for you?

  • How to get selected/focused cell from table, and action on clicked

    Hello Web Dynpro Community!
    i have a view with a table, (id "Table_0");
    table is 3x3 size, as celleditors i used inputfields; (standard binding to context with string atributes)
    below table i have textarea.
    when i select any cell in table i want to add that cell coords to textarea (col and row)
    i know that i should use onLeadSelect action, but i dont know exacly how. or to be precise.. how to access to ID and row variables in that action.
    the other problem is.. that onLeadSelect seems to work only when i change lead not the cell in same row.. so prabobly there is better way to do that..
    any ideas?
    Looking to hear from You.
    EDIT:
    Now i have following problem:
    i have a table 3x3 with one column as dropdownbykey box and 2 as TableSingleMarkableCell (and inputFields As editors).
    it works as i wanted:
    so when i click on one of those input cells, insert vale AND click enter then the action onEnter( for inputfield) is fired... i can get the coords of that cell..
    problem is.. that i want to get the coords before i click enter.. just when i click in cell.
    i tried to use onAction event for column.. but it doesnt work for TableSingleMArkableCells (but it works for ddk column correctly).
    so there is any way to do that?
    ie:
    below table i have inputfield (called  value).
    when i click on cell (and DO NOT press enter) i want to see the cell value in inputfield value.
    future (and target need) is that i need to show some additional text for specific Cell. (i have an Object with 2 strings attributes, one i want to show in cell, and one in inputfield when cell is clicked).
    M.
    Edited by: Michal Rowinski on Jan 16, 2008 9:51 AM

    You can use cell variant  for your requirement . Go through the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0310fd2-f40d-2a10-b288-bcbe0810a961
    Regards,
    Nethaji

  • Small issue with custom table cell editor and unwanted table row selection

    I'm using a custom table cell editor to display a JTree. Thing i notice is that when i select a value in the tree pop-up, the pop-up closes (as it should) but then every table row, from the editing row to the row behind the pop-up when i selected the value becomes highlighted. I'm thinking this is a focus issue, but it thought i took care of that. To clairfy, look at this: Before . Notice how the "Straightening" tree item is roughly above the "Stock Thickness" table row? When i select Straightening, this is what happens to my table: After .
    My TreeComboBox component:
    public class TreeComboBox extends JPanel implements MouseListener {
        private JTextField itemField;
        private TreeModel treeModel;
        private ArrayList<ActionListener> actionListeners = new ArrayList<ActionListener>();
        private Object selectedItem;
         * Creates a new <code>TreeComboBox</code> instance.
         * @param treeModel the tree model to be used in the drop-down selector.
        public TreeComboBox(TreeModel treeModel) {
            this(treeModel, null);
         * Creates a new <code>TreeComboBox</code> instance.
         * @param treeModel the tree model to be used in the drop-down selector.
         * @param selectedItem tree will expand and highlight this item.
        public TreeComboBox(TreeModel treeModel, Object selectedItem) {
            this.treeModel = treeModel;
            this.selectedItem = selectedItem;
            initComponents();
         * Returns the current drop-down tree model.
         * @return the current <code>TreeModel</code> instance.
        public TreeModel getTreeModel() {
            return treeModel;
         * Sets the tree model.
         * @param treeModel a <code>TreeModel</code> instance.
        public void setTreeModel(TreeModel treeModel) {
            this.treeModel = treeModel;
         * Returns the selected item from the drop-down selector.
         * @return the selected tree object.
        public Object getSelectedItem() {
            return selectedItem;
         * Sets the selected item in the drop-down selector.
         * @param selectedItem tree will expand and highlight this item.
        public void setSelectedItem(Object selectedItem) {
            this.selectedItem = selectedItem;
            String text = selectedItem != null ? selectedItem.toString() : "";
            itemField.setText(text);
            setToolTipText(text);
         * Overridden to enable/disable all child components.
         * @param enabled flat to enable or disable this component.
        public void setEnabled(boolean enabled) {
            itemField.setEnabled(enabled);
            super.setEnabled(enabled);
        public void addActionListener(ActionListener listener) {
            actionListeners.add(listener);
        public void removeActionListener(ActionListener listener) {
            actionListeners.remove(listener);
        // MouseListener implementation
        public void mouseClicked(MouseEvent e) {
        public void mouseEntered(MouseEvent e) {
        public void mouseExited(MouseEvent e) {
        public void mousePressed(MouseEvent e) {
        public void mouseReleased(MouseEvent e) {
            showPopup();
        private void initComponents() {
            setLayout(new GridBagLayout());
            itemField = new JTextField();
            itemField.setEditable(false);
            itemField.setText(selectedItem != null ? selectedItem.toString() : "");
            itemField.addMouseListener(this);
            add(itemField, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0,
                    GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
        private void showPopup() {
            final TreePopup popup = new TreePopup();
            final TreeComboBox tcb = this;
            final int x = itemField.getX();
            final int y = itemField.getY() + itemField.getHeight();
            int width = itemField.getWidth() + popupButton.getWidth();
            Dimension prefSize = popup.getPreferredSize();
            prefSize.width = width;
            popup.setPreferredSize(prefSize);
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    popup.show(tcb, x, y);
                    popup.requestFocusInWindow();
        private void fireActionPerformed() {
            ActionEvent e = new ActionEvent(this, ActionEvent.ACTION_PERFORMED, "TreeComboBoxSelection");
            for (ActionListener listener : actionListeners) {
                listener.actionPerformed(e);
        private class TreePopup extends JPopupMenu {
            private JTree tree;
            private JScrollPane scrollPane;
            public TreePopup() {
                initComponents();
                initData();
            private void initData() {
                if (treeModel != null) {
                    tree.setModel(treeModel);
            private void initComponents() {
                setFocusable(true);
                setFocusCycleRoot(true);
                tree = new JTree();
                tree.setRootVisible(false);
                tree.setShowsRootHandles(true);
                tree.setFocusable(true);
                tree.setFocusCycleRoot(true);
                tree.addTreeSelectionListener(new TreeSelectionListener() {
                    public void valueChanged(TreeSelectionEvent e) {
                        tree_valueChanged(e);
                scrollPane = new JScrollPane(tree);
                add(scrollPane);
            private void tree_valueChanged(TreeSelectionEvent e) {
                DefaultMutableTreeNode node = (DefaultMutableTreeNode) tree.getLastSelectedPathComponent();
                setSelectedItem(node.getUserObject());
                fireActionPerformed();
                this.setVisible(false);
    }My TreeComboBoxTableCellEditor:
    public class TreeComboBoxTableCellEditor extends AbstractCellEditor implements TableCellEditor, ActionListener {
        protected TreeComboBox treeComboBox;
        protected ArrayList<CellEditorListener> cellEditorListeners = new ArrayList<CellEditorListener>();
        public TreeComboBoxTableCellEditor(TreeComboBox treeComboBox) {
            this.treeComboBox = treeComboBox;
            treeComboBox.addActionListener(this);
        public Object getCellEditorValue() {
            return treeComboBox.getSelectedItem();
        public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) {
            treeComboBox.setSelectedItem(value);
            return treeComboBox;
        public void actionPerformed(ActionEvent e) {
            stopCellEditing();
    }Any thoughts?
    Edited by: MiseryMachine on Apr 3, 2008 1:21 PM
    Edited by: MiseryMachine on Apr 3, 2008 1:27 PM

    As I said, you have to have empty context elements before additional rows will be open for input.
    For instance if you want to start with 5 rows available for input do the following to your internal table that you will bind:
    data itab type standard table of sflight.
    do 5 times.
      append initial line to itab.
    enddo.
    context_node->bind_table( itab ).
    The other option if you need n number of rows is to add a button to the table toolbar for adding more rows. When this button is pressed, you add a new context element to the node - thereby creating a new empty row in the table.

  • How to select adjacent cells in OpenOffice table

    After checking select block in the Edit menu, I click on an end cell in my table and drag along the section of a row to select the cells. Only the typing in these cells is selected. Yesterday I succeeded after about a dozen failures. Today the battle is on again. Does anyone have a possible solution please?
    Lill73

    LibreOffice is the way to go... swithed and never looked back.
    Same source code as OpenOffice but it works 10x better. They also have localization in many languages which is very nice, very well done.

  • Possible to hit enter on table cell & retrieve data without selecting line?

    Hi All,
    We're using ECC6.  I  I have a situation where the user wants to be able to hit a cell in a table which will then fire a report and pass the contents of that cell to the report. 
    So far I have been only able to get this working when the row is highlighted, I can easily pick up the values from the lead selection.  But the user does not want to have to highlight a row every time to run the report.  The user just wants to hit return a cell and for the report to be updated with the value in that cell.
    So, I'm just wondering if it is possible to hit enter in any table cell and retrive the data without highlighting the row?
    Many thanks in advance,
    Liz.

    Hi,
    You want complete row data or perticular cell data??
    Basic q's, without selecting a row how can we get data? without selecting means you get complete data on table,
    In that case which data you have to pass to report?
    Or if you dont want to select data means, create one more field of type button. so in thins button action get that row data
    and call report from here itself.
    Cheers,
    Kris.

  • Fine solid black border for table-cell

    Hi!
    I'm facing the following problem. I'd like to have a tableview where cells have a fine! black (not grey) border. The result should look like a typical Excel-Spreadsheet.
    When entering this in the css Stylesheet:
    .table-view {
        -fx-background-color: white;
        -fx-border-color: black;
        -fx-border-width: 0.8px;
    .table-cell {
        -fx-background-color: white;
        -fx-text-fill: black;
        -fx-border-color: black;
        -fx-border-width: 0.1px;
        -fx-border-style: solid;
    The border of the tablecells get grey are still are to width. How could I get my excel-like grid? When increading changing the width (i.e. to 0.5) the line gets "more black") but unfortunately also too wide.
    Thanks in advance,
    Michael

    Hi!
    I'm facing the following problem. I'd like to have a tableview where cells have a fine! black (not grey) border. The result should look like a typical Excel-Spreadsheet.
    When entering this in the css Stylesheet:
    .table-view {
        -fx-background-color: white;
        -fx-border-color: black;
        -fx-border-width: 0.8px;
    .table-cell {
        -fx-background-color: white;
        -fx-text-fill: black;
        -fx-border-color: black;
        -fx-border-width: 0.1px;
        -fx-border-style: solid;
    The border of the tablecells get grey are still are to width. How could I get my excel-like grid? When increading changing the width (i.e. to 0.5) the line gets "more black") but unfortunately also too wide.
    Thanks in advance,
    Michael

  • Select from multiple entries in table cell.

    Hi All,
    I'm having issues when trying to do a simple select from an access database:
    <CFQUERY NAME="GetAllByMonth" DATASOURCE="dsn">
    SELECT * FROM table WHERE  strMonth = '#url.strMonth#' AND strDisplay = Yes
    order by strOrder_id
    </CFQUERY>
    Table cells in rows contain coma separated values:
    January, February, March, April, May, June, October, November, December
    Unfortunately the query returns no values. I've tried changing the "=" with "like", "contains" but with no results.
    Difficult to know what to search for so any help gratefully recieved.
    Ta
    Trevor

    Here is an absolutely crazy "hack" that I once used when dealing with a database like that.  It had hundreds of thousands of rows with comma separated values that for various legacy could not be changed.
    So one day I did this ...  SELECT DISTINCT column_from_purgatory FROM table_from_hell.
    Much to my surprise, there were less than a hundred DISTINCT values in that column.  (They were, fortunately, reasonably-sized VARCHARs.)
    So I built a table of those values, then created a separate table into which I could put each of the comma-separated parts, and then wrote a small (Perl) script to populate the two.  For example, a row containing "January, March, April" would be linked to three rows containing one month-name each.
    Now, as long as I had a way to be sure that this pair of lookup-tables was always complete (which was slightly problematic), I had something that I could actually JOIN to.  It wasn't pretty ... in fact, it was butt-ugly ... but it saved a tremendous amount of processing time for this application.

Maybe you are looking for

  • My apple TV optical connection is not working with optical to analog adapter after the update to 6.0.

    When i bought the apple tv, i could listen to my iPhone's music on my home's audio system, which was connected to the apple tv through a digital to analog audio converter. It was working until the apple tv upgrade to 6.0. I tried connecting the apple

  • CP 5 Project templates wrong after upgrade to CP 5.5

    Hi, I just upgraded my CP 5 to CP 5.5 and discovered that all my project templates are NOK anymore This is what I see: All Placeholders no matter which one have an angle of -1 in CP 5.5. I opened the templates in CP 5 and they are still OK. Reopen in

  • Error code 1601

    My 2 yr old iphone 4 died a few days ago and after researching on the web, I eventually found something that worked for itunes to recongnize it (I opened itunes, held down sleep and home button at the same time, attached usb, let go of the sleep butt

  • RAM Instalation

    I currently have a MacBook Pro that runs on 512MB of RAM (One of the first builds) that only supports up to 2GBs. I'm a graphic designer (still in school) and use the entire Adobe suite. Not at the same time, ofcourse. Anyways, don't ask me how I man

  • How do I install existing indesign querys into InDesign CC 2014 on my mac?

    I received directions but cannot find the below location to add the querys Mac OS Users\[username]\Library\Preferences\Adobe InDesign\[Version]\[Language]\Find-Change Queries\[query type]