SPLIT the cell in either template or table horizontally

Hi ,
           Hope you all doing well,
           Can any  body let me know how to split the cell in eithe template or table horizontally,
what i mean to say in detail is that i have created three cells using two lines  types, which it gave be 3 boxes , now i want to split only third box alone in to two parts with an horizantal line not by vertical line.
*Please note note , i dont want to split the cell vertically , i want to split it to horizontally.*
can any body help .
Thanks and regards,
SADIQ ALI SHAIK,
9966408168

Hi,
Better to use 2 Templates.
Eg :
Total Width -
120 MM.
Then Create first template with following measurements.
Width                         80      CM
Horizontal Alignment   left   0.50   MM
Vertical Alignment
Here u can mention Height width of the cells
Next create another template.
Width                         40      CM
Horizontal Alignment   left  85   MM
Vertical Alignment
here also u can mention the height and width for two line types.(this for split the box horizontally)

Similar Messages

  • Customizing the Cell Content of a Pivot Table

    Hi,
    I have been away from ADF for a few years (since 10g v 1.3.1) and am quite impressed with all the Faces functionality added to the 11g release. The application I wrote relied heavily on pivot tables which back then, I had to use stored procedures in the database and dynamically views to display information. I am very interested in moving this application to 11g and taking advantage of the PivotTable component. One thing the application does is change the style of cells based upon the object being presented. I have been reading:
    Oracle® Fusion Middleware
    Web User Interface Developer's Guide for Oracle Application
    Development Framework
    11g Release 1 (11.1.1)
    B31973-03
    And am very interested in section 26.8 Customizing the Cell Content of a Pivot Table.
    I easily created a pivot table and would like to change the formatting of various cells. I created a backing bean for a test page and added the Example 26–4 Sample Code to Change Style and Text Style in a Pivot Table to the bean.
    public CellFormat getDataFormat(DataCellContext cxt)
    CellFormat cellFormat = new CellFormat(null, null, null);
    QDR qdr = cxt.getQDR();
    //Obtain a reference to the product category column.
    Object productCateg = qdr.getDimMember("ProductCategory");
    //Obtain a reference to the product column.
    Object product = qdr.getDimMember("ProductId");
    if (productCateg != null && productCateg.toString().equals("Sales Total"))
    cellFormat.setTextStyle("font-weight:bold")
    cellFormat.setStyle("background-color:#C0C0C0");
    else if (product != null && product.toString().equals("Sales Total")
    cellFormat.setTextStyle("font-weight:bold");
    cellFormat.setStyle("background-color:#C0C0C0");
    return cellFormat;
    Almost verbatim except changed the literals to select data in my use case domain. My question is: How do I invoke this message from my pivot table? I need to pass it a instance of the DataCellContext. The example is great and illustrates what I am looking to do but does not go into the implementation details required. Is there a sample app available for download that demonstrates these capabilities?
    Thanks,
    Jeff
    Edited by: jcapzz on Jun 9, 2011 3:56 PM

    Hello,
    I haven't fully understood your question.
    Is it: How do I call the getDataFormat() method from my pivot table?
    If so , you need to set the dataFormat attribute of your pivot table.
    ex: <dvt:pivotTable id="pt2" var="cellData" varStatus="cellStatus"
    value="#{bindings.YourView.pivotTableModel}"
    headerFormat="#{viewScope.yourBean.getHeaderFormat}"
    *dataFormat="#{viewScope.yourBean.getDataFormat}"*
    contentDelivery="immediate" pivotEnabled="false"
    columnFetchSize="-1" rowFetchSize="-1"
    />
    I also put the *headerFormat* attribute which allows to customize the headers
    I hope I understood your question ;)
    Jack

  • How to programmatically change the cell color of an ADF table ?

    Hi all,
    I have an ADF table with some fields on it. Depending on the value of a field named, say, "F1", I would like to change its background color.
    So far I can change the field color with this EL expression inside the InlineStyle table column property:
    font-size:medium; background-color:#{viewScope.myBean.setColor};
    where setColor is a bean function, in where I access the field "F1" via binding, parse its value, and return the right value - so far, so good.
    The bad thing is, the InlineStyle affects that field in all the rows of the table, while I would like to change only the field in the rows, which have that specific value in it.
    So for example having the rows:
    F1
    abc#1 ----> currently selected row
    cde#2
    efg#3
    I want to change the background color to all the F1 fields which have a "1" after the '#' and let the other "F1" row cells background color stay unchanged.
    But as you can imagine, the InlineStyle affect the "F1" background color in all the rows (assuming that the first row of the table is selected).
    So the question: how to access a single cell of a row in an ADF table, and programmatically change its background color ?
    So far I can iterate through the ADF table with:
    BindingContext bindingctx = BindingContext.getCurrent();
    BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
    DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
    DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("aTableIterator");//access the iterator by its ID value in the PageDef file
    RowSetIterator rsi = dciter.getRowSetIterator();
    System.out.println("rsi getrowcount = " rsi.getRowCount());+
    Row row = null;
    +if (rsi.getRowCount() > 0) {+
    row = rsi.getCurrentRow();
    System.out.println("row attr = " Arrays.toString(row.getAttributeNames()));+
    System.out.println("class : " row.getAttribute("F1").getClass().toString());+
    +}+
    +while (rsi.hasNext()) {+
    row = rsi.next();
    System.out.println("row attr = " Arrays.toString(row.getAttributeNames()));+
    +}+
    Regards,
    Sergio.

    Hi,
    I mean a specific cell within a row.
    Here are two pictures that show an ADF table with two rows and some fields on it:
    https://skydrive.live.com/?cid=7D3084D8BF755808&id=7D3084D8BF755808!107&sc=documents#cid=7D3084D8BF755808&id=7D3084D8BF755808!107&sc=documents
    bild_A is what I have, bild_B is what I would like. Note that:
    in bild_A the first row contain a yellow background color for the field F4 and an orange background color for the field F5. This is correct, because F4 has an "1" at the end of its string value, and F5 has a "3" at the end. So far so good.
    But the second row (again, bild_A) has also the fields F4 with yellow background color, and the field F5 with orange background color, even if the value in both fields is 0.
    What is should be, is shown in bild_B.
    The problem is that the solution provided affects all the cells of the column, while I need to change the background color of a single cell, and leave the other unchanged (see bild_B).
    I hope that clarify a bit :)
    Sergio.

  • Split the data into multiple  rows in table

    Hello,
    I am using Oracle 10g apex 3.2.
    I have a requirement like this.
    I have a table like TableA
    Col1 Col2
    90 1
    91 1:2:3
    92 3
    I want the data like
    Col1 Col2
    90 1
    91 1
    91 2
    91 3
    92 3
    How to do this?
    Thanks
    Edited by: user13305573 on Aug 3, 2010 8:16 PM

    with
       your_data as
       select 90 as col1, '1'  as col2      from dual union all
       select 91, '1:2:3'   from dual union all
       select 92, '3'       from dual
    select
       y.col1,   
       regexp_substr(y.col2, '[^:]+', 1, t1.column_value) as col2
    from
       your_data y,
    13     table(cast(multiset(select level from dual connect by  level <= length (regexp_replace(y.col2, '[^:]+'))  + 1) as sys.OdciNumberList)) t1
    14  /
                  COL1 COL2
                    90 1
                    91 1
                    91 2
                    91 3
                    92 3
    5 rows selected.
    Elapsed: 00:00:00.05
    ME_XE?select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    5 rows selected.
    Elapsed: 00:00:00.03
    ME_XE?

  • Alerts not working when formula is in the cell

    I am having a problem where my alerts are not working in the preview mode.  They work fine when I hard code the alert range.  But I need the alert to change under differnt conditions and I am using an IF statement
    the formula is simple
    =IF('TXF Inputs'!D27=3, C34/2, C34)
    output is either 0.375 or 0.375/2 = 0.1875
    if i hardcode the cell with either of these values the alert works, but it does not work with the formula.  The confusing part is that I have other alerts that have IF statements in them and they all work.
    They also work fine in the main screen, ie it shows yellow if my default values =0.1875, but then when I preview or publish they don't work
    bw

    Can u give us the details like which component you are using for alerts.

  • Export splits 1 cell into several

    hi
    I would like to export the results of the query:
    select * from user_views;
    when i run the query, the result looks ok, i.e. each row is separate
    when i export this , the content of the views gets splitted into different rows;
    how can i export so the content of each cell stays in 1 cell?
    is this possible?
    thanks in advance for any tips!
    rdgs

    hi
    thanks for your answer; however this format still splits the cell into many rows;
    however i tried one by one every single format in this export and the following one keeps the data in 1 cell:
    html
    my version: 3.0.0.4
    so my issue is solved;
    rgds

  • How is it possible to split the table cells in Pages, Version 5.1

    How is it possible to split the table cells in Pages, Version 5.1?

    This is a feature removed in the change from Pages 09 to Pages 5.0.1.
    If you need this facility, revert to Pages 09.  If you upgraded to 5.0.1, then the earlier version is still in your Applications folder in a folder called iWork.

  • I am in the print mode  but the dimensions I select in the size template do not show up on either the cell size or the photo,  i.e. select 4x6 template lR gives me 3.5x4 8x10 gives me 5.19x3,50 I have to use 8x10 template in order to get 3.5x5.194

    The sizes on the print template do not relate to the size I get in the cell size or on the photo. Template 8x10 gives me 3.5 x5.194 which is on the cell size can't make it any larger. 4X6 template gives me 3.5x4 which is the same as the cell size.  My printer is a new epson 3000 which is set to print 4x6 but LR does not give the 4x6 dimension to the printer just the aforementioned sizes!!!! I have tried everything to get it to print properly to no avail.   The photo system that came with the computer an iMac 27" pro 2013  with yosemite as the os.works fine with he printer!  You just cannot do much other than print with it
    Anybody have any idea what happened?  It used to work fine ____about a week and a half ago
    HELP
    len

    Hi,
    I tried the example and got some weird error messages as follows:
    ********* error messages*********
    ShowComponent.java:90: cannot resolve symbol
    symbol : method getName ()
    location: class javax.swing.UIManager.LookAndFeelInfo[]
    { String plafName = plafs.getName();
    ^
    ShowComponent.java:91: cannot resolve symbol
    symbol : method getClassName ()
    location: class javax.swing.UIManager.LookAndFeelInfo[]
    final String plafClassName = plafs.getClassName();
    ^
    ShowComponent.java:139: cannot resolve symbol
    symbol : method indexOf (char)
    location: class java.lang.String[]
    int equalsPos = args.indexOf('=');
    ^
    ShowComponent.java:143: cannot resolve symbol
    symbol : method forName (java.lang.String[])
    location: class java.lang.Class
    Class componentClass = Class.forName(args);
    ^
    ShowComponent.java:161: cannot resolve symbol
    symbol : method substring (int,int)
    location: class java.lang.String[]
    String name = args.substring(0, equalsPos); //property name
    ^
    ShowComponent.java:162: cannot resolve symbol
    symbol : method substring (int)
    location: class java.lang.String[]
    String value = args.substring(equalsPos+1); //property value
    ^
    6 errors.
    *****end of error messages*****
    I use jdk1.3 and Win2000. Can anybody tell me how to delete above error messages?
    Thanks a lot.
    Li

  • Can you select the row in a table view without highlighting the cell?

    I have an an app with a table view which is presented modally. Cell selections in this table are saved in the parent controller so that they can be reselected if the table is reloaded after being dismissed.
    When the cell is first highlighted, I want to momentarily highlight the cell and have it fade out, which I do by unselecting the cell from the modal view controller's didSelectRowAtIndexPath by calling setSelected:animated on the table view cell.
    However, when I present the table view controller modally again and want to display the previously selected cell as selected, I don't want the cell background to be highlighted, and I'm having trouble doing this.
    In order to make sure the table view knows the cell is selected, I am calling selectRowAtIndexPath. I need to make sure the cell is selected so that I can set/unset the cell's accessoryType. However, this has the sideeffect of highlighting the cell too, which looks weird and confusing to the user.
    I've tried things like temporarily setting the cell's selection style to none, but while that stops the cell background from highlighting? I've tried setting the selectionStyle to UITableViewSelectionStyleNone, but while this prevents the cell background from highlighting, the cell text still changes to white, so it the text is invisible against the white background.
    Is there a easy way of setting a cell to selected in the table view without also changing the highlight and text colour of the actual cell? Immediately setting the cell to be unselected still makes the highlight visible for a split second.

    I tried that, but setting the highlighted property doesn't seem to affect it.
    I figured out how what I was doing wrong though. I was setting selection style UITableViewSelectionStyleNone, selecting the cell, then setting the selection style back to whatever it had previously been. This causes the background not to draw highlighted, but the text and accessory type to still draw highlighted.
    In order to fix this, I moved the code to set the cell selection style to whatever it had previously been to the didDeselectRowAtIndexPath method.

  • How can I center it in the cell (above big sub-table)

    The "Cross Browser marquee II" at
    http://www.pafoscarhire.com/index.php
    how can I center it in the cell (above big sub-table) ?
    I try but layer goes to the center of page rather than center
    of cell , well ?

    Heh - can't imagine what that's about....
    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
    ==================
    "Walt F. Schaefer" <[email protected]> wrote in
    message
    news:f53j7t$asj$[email protected]..
    >I got the same error Murray. And, I might add it was not
    centered. ;-)
    >
    > --
    >
    > Walt
    >
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:f53itb$adt$[email protected]..
    >> Internal Server Error
    >> The server encountered an internal error or
    misconfiguration and was
    >> unable to complete your request.
    >> Please contact the server administrator,
    [email protected] and
    >> inform them of the time the error occurred, and
    anything you might have
    >> done that may have caused the error.
    >>
    >> More information about this error may be available
    in the server error
    >> log.
    >>
    >>
    >> --
    >> 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
    >> ==================
    >>
    >>
    >> "123polis123" <[email protected]>
    wrote in message
    >> news:f539js$9d$[email protected]..
    >>> The "Cross Browser marquee II" at
    http://www.pafoscarhire.com/index.php
    >>> how can
    >>> I center it in the cell (above big sub-table) ?
    >>> I try but layer goes to the center of page
    rather than center of cell ,
    >>> well ?
    >>>
    >>>
    >>
    >>
    >
    >

  • Cannot replicate the ring cells' value list on a table

    Hi, 
    I am trying to create a variable-size table/matrix of ring cells. The default value list is "0 (x)" and "1(P)", for binary purpose, specified in cell (1,1). When I insert a new row and/or colum on the table, It looks like the inserted cells does not inherit the specified value list "0 (x)" and "1(P)" from cell (1,1).
    I have also tried the following options, but none of them works.
    (1) change the Table Mode (Edit Table -> Control Settings -> Table Mode) to either "row" or "column" from "grid"
    (2) use the parameter "VAL_USE_MASTER_CELL_TYPE" instead of ring type
    (3) search the forum but not clue found
    Please also see the attached snapshot files, which show how the settings are set.
    (1) "snapshots_02_ring_list.jgp": specify the ring value list of cell(1,1)
    (2) "snapshots_03_edit_default_cell_values.jpg": I tried also to specify the default cell values in Control Settings (Edit Table -> Control Settings -> Edit Default Cell Values -> Ring/Combo Box Attributes), but the button "Value List" is greyed out.
    (3) "snapshot_04_cells.jpg": the created/inserted cells do not have the value lists
    Here is the code piece for your information:
    // insert a few rows
    InsertTableRows(panel,PANEL_TABLE_CHKBRD, (iNumOfRowNow+1),iNumOfRowChange, VAL_USE_MASTER_CELL_TYPE);
    // draw the cells
    ProcessDrawEvents();
    // set the active row
    SetCtrlAttribute(panel, PANEL_TABLE_CHKBRD,ATTR_FIRST_VISIBLE_ROW, iNumOfRowNew);
    Thanks.
    Attachments:
    snapshot_02_ring_list.jpg ‏134 KB
    snapshot_03_edit_default_cell_values.jpg ‏159 KB
    snapshot_04_cells.jpg ‏16 KB

    You cannot inherit the ring values of a cell. This is why the Value List button is dimmed when you edit the default cell values of a column in the UI Editor.
    You can use the InsertTableCellRingItem function to programmatically create the value list of any new cells that you add to the table. Or the InsertTableCellRangeRingItem function, if you want to do the same thing for multiple cells at once.
    By the way, for items that can be inherited (i.e. cell attributes, as Wolfgang put it), inheritance does not happen from one cell to another. Depending on the table mode, inheritance happens from a column's default cell to new cells under that column, or from a row's default cell to new cells on that row, or from the table's default cell to all new cells.
    Luis

  • I lost the "..." in my table cells

    Hi,
    I have a JTable with a custom table cell renderer which I program as such inorder to allow an individual cell to render the value ( in this case, text ), in multiple fonts and colors :
    MyCellRenderer extends DefaultTableCellRenderer {
    public Component getTableCellRendererComponent() {
    else if ( value instanceof String ) {
    String s = "<html> ";
    String[] pieces = ((String)value).split("\\.");
    for(int i = 0; i < pieces.length - 1; i++ )
    s += pieces[i] + ".";
    s = s + "<B>" + pieces[pieces.length -1] + "</B>" + "</html>";
    ((JLabel)cell).setHorizontalAlignment(JLabel.LEFT);
    ((JLabel)cell).setText(s);
    ((JLabel)cell).setBorder(new EmptyBorder(0,10,0,0));
    return cell;
    and that works great. The problem is, before, if the cell value string was longer than the column heading, the value would have a "..." at the end to indicate there was more to show. Is there some way I can get this back, and preserve the HTML tag code?
    thanks in advance

    From the random code you posted, it looks like you only have two separate pieces of text in you renderer. If so, then heres a hack you might be able to use:
         class MultiLabelRenderer implements TableCellRenderer
              private JPanel panel;
              private JLabel red;
              private JLabel blue;
              public MultiLabelRenderer()
                   panel = new JPanel(new BorderLayout());
                   red = new JLabel();
                   red.setForeground(Color.RED);
                   blue = new JLabel();
                   blue.setForeground(Color.BLUE);
              public Component getTableCellRendererComponent(
                   JTable table, Object value, boolean isSelected,
                   boolean hasFocus, final int row, final int column)
                   String text = value.toString();
                   red.setText( text.substring(0,1) );
                   blue.setText( text.substring(1) );
                   panel.removeAll();
                   int columnWidth = table.getColumnModel().getColumn(column).getWidth();
                   int redWidth = red.getPreferredSize().width;
                   if (redWidth > columnWidth)
                        panel.add(red);
                   else
                        panel.add(red, BorderLayout.WEST);
                        panel.add(blue);
                   if (isSelected)
                        panel.setBackground( table.getSelectionBackground() );
                   else
                        panel.setBackground( table.getBackground() );
                   return panel;
         }

  • How can I select a radio button in a table regarding the data in the cells?

    Hi everyone
    This is the issue: I need to select the RadioButton which is in a table with data related to transfers in the cells next to it, so I need to select the correct radio regarding the data next to it.
    This is the whole process: First I go to the Add Recurring Transfer section and select the parameters of the transfer (Accounts, date, amount, months etc), then with VB code I capture those parameters from the page and store them into Global variables for further usage on my E-tester script.
    Right after that I need to select the radiobutton regarding the data of the transfer that I already created in order to delete it or modify it (Please see Attachment selectradio1.jpg)
    So How can I move along the table and compare each cell with the variables that I created with the transfer information, so when I finish comparing a row cell by cell and if all the comparison match well in that row, I could select the radiobutton of the row.
    Note: Second Attachment selectradio2.jpg shows the source code of the table...If you need more info please let me know
    Could you please help me with this problem?? I'm Kind of frustrated with this issue jejeje

    Here is an example. I uploaded mock html so that you can actually try this code. I think this does exactly what you are asking.
    Private Sub RSWVBAPage_afterPlay()
    Dim tbl As HTMLTable
    Dim tblRow As HTMLTableRow
    Dim tblCell As HTMLTableCell
    Dim strValue As String
    Dim rButton As HTMLInputElement
    ' ******** This would be your global variable. I put this so that values are seperated by a semicolin you can use what ever format works for you.
    strValue = "03/22/2008;03/22/2008;*************1977;*************1977;$25.25;Jan, Jun, Jul, Dec"
    ' Strip out the ; for inner text comparison
    strValue = Replace(strValue, ";", "")
    ' This will get the table but can be modifoed to be more specific
    Set tbl = RSWApp.om.FindElement(, "TABLE")
    ' This loops through all the rows in the table until a match to the strValue is found
    ' then clicks the radio button. Findelements allows you to specify a root element
    ' once the correct root row is found, FindElemets can get the correct radio button
    For Each tblRow In tbl.rows
      If tblRow.innerText = strValue Then
        Set rButton = RSWApp.om.FindElement("account", "INPUT", "NAME", , , tblRow)
         rButton.click
       End If
    Next
    End Sub
    I also uploaded the script I created. You should be able to run it and see how it works.
    This should get you going.

  • Is there a recommended limit on the number of custom sections and the cells per table so that there are no performance issues with the UI?

    Is there a recommended limit on the number of custom sections and the cells per table so that there are no performance issues with the UI?

    Thanks Kelly,
    The answers would be the following:
    1200 cells per custom section (NEW COUNT), and up to 30 custom sections per spec.
    Assuming all will be populated, and this would apply to all final material specs in the system which could be ~25% of all material specs.
    The cells will be numeric, free text, drop downs, and some calculated numeric.
    Are we reaching the limits for UI performance?
    Thanks

  • How can I make a table cell extend beyond the page?  The text disappears when the cell becomes larger than the page.

    How can I make a table cell extend beyond a page?  The text disappears when the cell becomes bigger than the page.  I want the table to continue to the next page.

    As a student, you might be able to get Office for Mac from the college bookstore at a substantial discount. Otherwise, I think your best option for documents that need to be shared with Office users is to get one of the free Office clones such as LibreOffice.

Maybe you are looking for