BSP HTMLB TABLE - BORDERS FOR EMPTY CELLS

Hello Colleagues, I'm new to BSP HTMLB, maybe someone could help me.
I’m taking data from a DB table through select and there are a lot empty cells.
The layout looks like:
<htmlb:tableViewColumn columnName="PK_Terms"
<%--wrapping="true"--%>
width="50"
horizontalAlignment = "center"
verticalAlignment = "middle"
fixedColumn="true">
</htmlb:tableViewColumn>
THE BORDER does not APPEAR in empty cells (the table looks horrible), how can I make it appear?

Hi,
If the cell is initial pass the   then it will shows the border like when the data is not initial.
i have got this in my requirement.
if it is not shows the any cell pass <border=1>
Regards,
Sri..

Similar Messages

  • Why do borders for some cells allow changes in line thickness, but other cells are locked in only one thickness?

    It looks like you should be able to choose different line thickness for cell borders, but for some cells you can get three choices (0.5, 1, 2 pt), but in other cases you can only do 0.5?
    I can't make a consistent thickness border around the outside of all my cells!

    VS,
    Yes, I have lots of ideas. After all that work you probably don't want to hear them.
    1. I would use PDF versions of rotated text boxes, inserted into the cells as background Fill rather than floating the actual text boxes over the table.
    2. I would never merge a cell, or divide, a cell. Too many problems await you down the road if you do that. There are many ways in Numbers to avoid having to do those things. These are things we must do in Excel to get by, but we don't have to do them in Numbers.
    3. There is a Line Type called "Thin" that has only one size, and another line type shown as a heavier solid for which the weight can be adjusted. It's possible that you have some places where you need to change the line type.
    I believe that your difficulty may come from the merging of cells causing some ambiguity as to which border needs to be selected to change the display. This would be a bug, because you should be able to just select the border and edit it, but your table may have become so complex that the program has lost track of things in the course of all your changes.
    My suggestion is to print your table just as it is, for reference, and start over in a new document, not an imported one. Don't merge or split. Use multiple simple tables and the occasional text box for annotation. You will be on your way to doing things the "Numbers Way".
    Jerry

  • Setting borders for JTable cells

    How can i create custom / user defined borders for cells in JTable (swing).I need to have borders like only top/bottom,left/right borders for cells. I came to know that it could be possible with paintBorder() method of AbstractBorder interface. But i need a sample code of how it has been done.
    Thanks & Regards
    M.Shanthakumari

    You need to create a custom table cell renderer to do what you are asking. It is what actually draws the cells. Just subclass the DefaultTableCellRenderer and override the getTableCellRendererComponent() method. Look at the source for that class, and just change it to add your logic to use a different border depending on the cell to be drawn.

  • Table borders for html Page

    HEllo ABAPERS,
    KINDLY HELP .
    I have developed a report which displays a html page in a custom control .But while printing it not displaying table borders . I have used method display_document ffor printing .Can anyone tell me the reason why is it not printing borders ?
    Following code is the code for subroutine and PBO : -
    MODULE status_0322 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
      IF first_display EQ 'X'.
        SET PF-STATUS 'PMENU'.
    create document
        CREATE OBJECT do.
    fill document
        PERFORM display_data USING do t_no.
    merge document
        CALL METHOD do->merge_document.
    display the document inside the container named 'mmscr
        CALL METHOD do->display_document
          EXPORTING
            container          = 'MMSCR'
          EXCEPTIONS
            html_display_error = 1.
        " do some exception handling ...
        CLEAR first_display.
      ENDIF.
    ENDMODULE.                 " STATUS_0322  OUTPUT
    *&      Form  display_data
    FORM display_data USING p_do TYPE REF TO cl_dd_document P_no type n.
      DATA ta1 TYPE REF TO cl_dd_table_element.
      DATA col11 TYPE REF TO cl_dd_area.
      DATA col12 TYPE REF TO cl_dd_area.
      DATA col13 TYPE REF TO cl_dd_area.
      DATA col14 TYPE REF TO cl_dd_area.
      DATA col15 TYPE REF TO cl_dd_area.
      DATA head1 TYPE sdydo_text_element.
      DATA head2 TYPE sdydo_text_element.
      DATA head3 TYPE sdydo_text_element.
      DATA head4 TYPE sdydo_text_element.
      DATA text TYPE sdydo_text_element.
      CALL METHOD p_do->new_line.
          CALL METHOD p_do->add_table
            EXPORTING
              no_of_columns               = 5
              cell_background_transparent = space
              with_heading                = 'X'
              border                      = '5'
              width                       = '50%'
            IMPORTING
              table                       = ta1.
    set columns
          CALL METHOD ta1->add_column EXPORTING heading = head1
                                                width   = '10%'
                                      IMPORTING column  = col11.
          CALL METHOD ta1->set_column_style EXPORTING col_no    = 1
              sap_color = cl_dd_area=>list_background_int.
          CALL METHOD ta1->add_column EXPORTING heading = head2
                                                width   = '15%'
                                      IMPORTING column  = col12.
          CALL METHOD ta1->add_column EXPORTING heading = head3
                                                width   = '15%'
                                      IMPORTING column  = col13.
          CALL METHOD ta1->add_column EXPORTING heading = head4
                                      width   = '15%'
                                      IMPORTING column  = col14.
          CALL METHOD ta1->add_column EXPORTING heading = head4
                                                width   = '15%'
                                      IMPORTING column  = col15.
    fill columns
          text = ' '.
          CALL METHOD col11->add_text
            EXPORTING
              text = text.
          text = 'Init'.
          CALL METHOD col12->add_text
            EXPORTING
              text = text.
          text = 'Supv No'.
          CALL METHOD col13->add_text
            EXPORTING
              text = text.
          text = 'Date'.
          CALL METHOD col14->add_text
            EXPORTING
              text = text.
          text =  'Discrepancy Report Notation'.
          CALL METHOD col15->add_text
            EXPORTING
              text = text.
          CALL METHOD ta1->new_row
            EXPORTING
              sap_color = cl_dd_area=>list_background.
          text = 'Q/C by'.
          CALL METHOD col11->add_text
            EXPORTING
              text = text.
          text = ' '.
          CALL METHOD col12->add_text
            EXPORTING
              text = text.
          CALL METHOD col13->add_text
            EXPORTING
              text = text.
          CALL METHOD col14->add_text
            EXPORTING
              text = text.
          CALL METHOD col15->add_text
            EXPORTING
              text = text.
          CALL METHOD ta1->new_row.
          text = 'Received by'.
          CALL METHOD col11->add_text
            EXPORTING
              text = text.
          text = ' '.
          CALL METHOD col12->add_text
            EXPORTING
              text = text.
          CALL METHOD col13->add_text
            EXPORTING
              text = text.
          CALL METHOD col14->add_text
            EXPORTING
              text = text.
          CALL METHOD col15->add_text
            EXPORTING
              text = text.
          CALL METHOD ta1->new_row.
          text = 'Sign Off'.
          CALL METHOD col11->add_text
            EXPORTING
              text = text.
          text = ' '.
          CALL METHOD col12->add_text
            EXPORTING
              text = text.
          CALL METHOD col13->add_text
            EXPORTING
              text = text.
          CALL METHOD col14->add_text
            EXPORTING
              text = text.
          CALL METHOD col15->add_text
            EXPORTING
              text = text.
          CALL METHOD do->new_line
            EXPORTING
              repeat = 1.
    ENDFORM.
    MSK

    You can use HTTP Receiver to pass the data to the servlet that runs on the HTTP Server.  The servlet has already screen design logic written in HTML or jsp to display in HTML Table or so.  PI requires to just post data on the servlet of HTTP Server using HTTP Receiver. PI will not create screen look and feel logic while posting data.
    If you want HTML table coding logic refer this link
    http://www.w3schools.com/html/html_tables.asp

  • How to hide table header for empty table

    Hi,
    I wanna to hide table header for all tables which doesn't contain any data in my Adobe form. How can I do this? Helpful answers will be rewarded .

    HI Aliaksandr,
    You can use javascript to do this dynamically.
    For example, i used Adobe Designer 7.1 to add a table to a subform.
    Now, i have the object hierchy as:
    Level 1 - form1
    Level 2 - form2
    Level 3 - Table1
               -->HeaderRow
                    --> Cell1
                    --> Cell2
               -->Row1
                    --> Cell1
                    --> Cell2
    Now, i sleect the Table1 element, and write the javascript which is executed on Initialization, as
    if(this.Row1.Cell1.rawValue == "")
    this.HeaderRow.presence = "hidden" ;
    This will check that if the first row is empty, it will hide the header from the layout.
    You can use something similar for your requirement.
    Hope this helps,
    Siddhartha Jain

  • JSP : No Borders for empty data cells

    I'm sure this has got to be a simple problem to get around, but for some
    reason the simple solution is eluding me. :(
    I have a JSP page that's simply showing data. I fetch the data from the
    database, place it in a few beans, then pass that to a JSP page which
    displays the data in a few tables. Some of the fields queried from the
    database are empty, so I'm returning empty strings. The result is that the
    border for the table is not being drawn, as the cell is empty.
    None of the ideas of getting around this seemed ideal:
    1. Pad each table cell with a " " (in addition to whatever JSP tags are in that cell). That way, if nothing is returned from the JSP tag, the cell still has some content.
    2. Manually place the " " in the bean when I'm querying the database.... that's not right.
    3. Write a JSP filter to located empty table cells and insert a " ". That seems heavy handed.
    4. Make each JSP tag an if statement that checks the length of the value it's displaying. If it's zero, then write " " instead of the bean value.
    None of these seem ideal. Does anyone have the simply solution, which I
    must be overlooking?
    Thanks,
    -Dave

    Try using �nonbreaking space
    http://galileo.spaceports.com/~ibidris/

  • Check for empty cell in report

    I have a report that displays true or false in the rows for a number of automobile models that are the columns.
    I have the case statement below setup in the column formula section of one of my columns.  It does kind of work, but if "FT_AUTOS"."productionEnded" is nothing(i.e. returns nothing, not even NULL), then it will just show a blank cell.  Is there a way to include "empty" so that it also shows up as incomplete?
    case
        when SUM(case when "FT_AUTOS"."productionEnded" IS NOT NULL then 1  else 0 end) > 0 
        then '<div title= "True"  style="background:#00ff00;text-align:center">'||'True'||'</div>' 
        else  '<div title= "False"  style="background:#ff0000;text-align:center">'||'False'||'</div>' 
    end
    Thanks

    length("FT_AUTOS"."productionEnded")
    might tell you about NULL or '' or ' ' etc
    forget about your report for a while and just pull this column with above expression and then run it, sort it asc
    then look values and then sort to desc

  • How do I change borders for a cell?

    Changing borders seems so easy. I select a cell, select a line type, select a color, select to underline a cell. Problem: It outlines the entire cell! I've tried it a hundred times, but it doesn't change. I must be missing something very simple...

    carlfrommichigancity wrote:
    Changing borders seems so easy. I select a cell, select a line type, select a color, select to underline a cell. Problem: It outlines the entire cell! I've tried it a hundred times, but it doesn't change. I must be missing something very simple...
    Carl,
    Do all that, then click off the table to apply the changes. By the way, and I may not need to say this, there is no Underline option. The closest thing is to apply a border style to the lower boundary of the selection.
    Jerry

  • GridBagLayout - Question about Creating Borders for Cells

    Hello Everyone,
    I am implementing a table-like design using a Grid Bag Layout and I do not wish to use a J Table. Since a grid bag layout utilizes cells (rows and columns) to create its' design, I was wondering if any of you knew of a way to create borders for the cells inside of a Grid Bag Layout.
    The reason I ask is because, lets say for instance cell (1, 0) may occupy a single J Label. I can easily create a border for this particular cell or label, by calling label.setBorder(). However, what if a single cell occupied two JLabels and they were sort of strangely aligned. I wouldn't be able to call setBorder on the labels anymore because that will just create two separate sets of borders. What I want to do is create a border for that particular cell.
    The final result that I want it to look like is almost identical to a J Table where all the rows and columns have separating lines between all the cells. Something similar to this...
    http://www.wwffinc.com/other-images/table1-693771.jpg
    Thanks in advance!
    Brian

    However, what if a single cell occupied two JLabels and they were sort of strangely aligned. I wouldn't be able to call setBorder on the labels anymore because that will just create two separate sets of bordersThen create a panel and add the two labels to the panel. Then add the border to the panel.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting.

  • Table View : display:none leaves a empty cell

    Hi Experts,
    There is a requirement to display a report in a normal table view but print the other view ( sectioned table view).
    I have created two views in teh same request and in teh second view i have used the display:none css code in the Data section , Folder Heading and Column Heading of evey column being used in this report.
    But i see some grey empty cells and since its a sectioned table view these empty cells are increasing.
    Can you please help me on how to hide this empty cells from getting displayed in the Dashboard
    Regards
    Veena A

    Hi,
    Refer
    OBIEE Changing unchangeable cells
    http://obiee101.blogspot.in/2010/02/obiee-changing-unchangeable-cells.html
    Award points if this helped to help others with similar issues.
    Regards
    MuRam

  • Border for Excel Cells generated using HTML

    Hi,
    I am generating html at server side and writing the content with
    content type application/xls, all the generated data downloads to
    me in excel sheet. Here in this excel document, I dont have borders
    for the cell where i dont have the data. But for the cells, where data
    is placed, cell borders are available. How do i make the whole excel sheet
    cells as bordered.
    Thanks in advance.
    Regards,
    Rizwan.

    If I have table border="1" they show up. I want
    borders even in other parts of the excel sheet where
    table is not there. Is it possible for that to get
    the borders in entire excel sheet where data is
    present and even if data is not present?IIRC, it would not be possible unless you paint all those borders on the HTML page. An alternate way is to generate the Excel sheet using Jakarta POI, but that would only make your work tougher.

  • Can I change the border style for normal cell?

    Im using Numbers on ipad2. As I say, Im wondering if I can change border style such as its width and colour for ordinary cells which is not a incerted media.
    As I know, Numbers only allows the position of borders for normal cells,,, anyone help me?

    You only get that when you have two or more consecutive messages. Try to avoid that is one option.
    You can change the icon if you want. Create another icon, call it stop.ico and put it in the icons directory (as indicated by UI_ICON). However, if you have a STOP alert, the icon changes for that alert too.
    Note: this is for Developer 6i. In 9i you cannot use ico files. Use gif files instead and put the image in the image jar file (found in OH/forms90/java directory). Since you see a big X, I believe you are using 6i.

  • How can I add a character globally to empty cells in an InDesign table?

    I have a document with 190 tables, each with many empty cells. Client now wants m-dashes in the empty cells. Is it possible to do this in an automated fashion, without having to go cell-by-cell?

    Hi Jarek,
    Unfortunately I'm still getting the same "no tables found in the active document" message after modifying it the way you instructed.
    Here's my current code. Hopefully you'll be able to detect my problem. I greatly apologize for my ineptitude in javascript
    try 
    var myCells = app.app.selection[0].cells.everyItem().getElements(); 
    alert("myCells:" + myCells.length) 
    for(i=0; i<myCells.length; i++) 
        if(myCells[i].contents == "") 
            myCells[i].contents = "N/A" 
    catch(myError) 
        alert("no tables found in the active document") 

  • Need Help with giving Colors to Table Cells and Table Borders in Dreamweaver CC - Please!

    Hi,
    I am a teacher and use Dreamweaver CC to make my class web page.
    How do I give colors to the cell borders of a table I inserted?  How do I give colors and line thickness
    to table borders, too?
    I bought the David Powers DVD and it doesn't show that.
    Please help.
    Thank you,
    John

    Assuming that you have placed a table in your document and your CSS Designer panel is open
    1. Click the '+' sign
    2. Choose your option. I will choose 'Define in Page'
    3. Follow the above sequence, 1.click on table, 2.ensure table is selected, 3.click on style, 4.click the '+' sign, 5. see the selector appear.
    4. Click on the selector and choose the required Properties.
    You can do the same for the row (<tr>) or a cell (<td>). In fact, this is how you would go about styling anything in your document.

  • How important spacer.gif within table empty cell?

    I've always used a spacer image (or  ) within an empty cell over the years to keep consistency between browsers, and that it was recommended. Has anyone seen any stats on this in recent times? I'm curious which recent versions of browsers still have problems with this and if it's still that important to do so.
    One reason I ask is I'm needing several 1px height black table cells and it'd be nice if I didn't have to keep putting a 1x1 spacer within each empty cell. With my tests, I've check with several most recent browsers and they all render an empty black 1px height cell the same.
    Thanks.

    I don't know what kind of look your going for, but i wonder if you could achieve the same effect by using CSS to put a 1 pixel black border on something.
    I've found that with IE6 something needs to be in a cell for it to be affected by css. For example, if i use css to place a black border around all table cells IE6 won't apply the border to empty cells. Instead of putting a spacer image in the cell i use a non-blanking space ";nbsp".

Maybe you are looking for

  • Questions regarding creation of vendor in different purchase organisation

    Hi abap gurus . i have few questions regarding data transfers . 1) while creating vendor , vendor is specific to company code and vendor can be present in different purchasing organisations within the same company code if the purchasing organisation

  • Aperture 3 and iTunes

    I imported my old iPhoto library into my new Aperture 3 library....when i try to sync my iPhone 4 with Aperture, I choose to sync the last 20 projects. It seemingly picks 20 random events, both from events/projects created in Aperture and events crea

  • Sun logs: /var/adm/messages vs. /var/svc/log/*

    On Solaris 10, is /var/adm/messages still the "gold standard" for startup and shutdown log messages, or have the critical logs moved to /var/svc/log/$service_name? It's not like I can't look in one or the other, but I'm trying to gauge the relative i

  • WARNING: Flash Archive IDs do not match (possible corrupt archive)

    I'm running into problems when trying to use a newly patched Solaris 10 system's flash image via my Solaris 9 Jumpstart server. I'm able to use other flash's (Solaris 9 and 10) fine, but when I use this flash I get: Extracted 823.00 MB ( 99% of 824.9

  • ESB SOAP Fault

    After much of painful efforts, I got my basic flow to work on AIX. But Now, some other application is trying to invoke my application and they are certainly calling the right url and event name. But end up getting the following exception: <env:Envelo