Cell content build in action

Hello!
I dont think you can, but can I have a build in action for individual cell content or is it all or nothing for a table?
Thanks!
-Josh

You can.
Click on the table in the window,
then in Inspector > Build, choose the build you want and at the bottom of the window, there is a menu labeled delivery.  You can set that to 'by cell'.
check the box labeled 'set timing and order for each build' if you want to rearrange the order of when each cell's build happens.

Similar Messages

  • Drag and Drop of cell content between 2 tables

    Hi Guys,
    Iam into implementing drag and drop of cell contents between 2 different tables,say Table1 and Table2.(Iam not dragging and dropping rows or cells,Just copying the content of one cell to another).
    Have extended the java tutorial class "TableTransferHandler" and "StringTransferHandler" under http://java.sun.com/docs/books/tutorial/uiswing/examples/dnd/index.html#ExtendedDndDemo to satisfy my needs.
    The drag is enabled for Table1 and table2 as follows.
    jTable1.setDragEnabled(true);
    jTable1.setTransferHandler(new TableTransferHandler());
    jTable2.setDragEnabled(true);
    jTable2.setTransferHandler(new TableTransferHandler());
    Dont be taken aback with the code I have put.It just to show what I have done..
    My questions are put at the end of the post..
    //String Transfer Handler class.
    public abstract class StringTransferHandler extends TransferHandler {
        protected abstract String exportString(JComponent c);
        protected abstract void importString(JComponent c, String str);
        protected abstract void cleanup(JComponent c, boolean remove);
        protected Transferable createTransferable(JComponent c) {
            return new StringSelection(exportString(c));
        public int getSourceActions(JComponent c) {
            return COPY_OR_MOVE;
        public boolean importData(JComponent c, Transferable t) {
            if (canImport(c, t.getTransferDataFlavors())) {
                try {
                    String str = (String)t.getTransferData(DataFlavor.stringFlavor);
                    importString(c, str);
                    return true;
                } catch (UnsupportedFlavorException ufe) {
                } catch (IOException ioe) {
            return false;
        protected void exportDone(JComponent c, Transferable data, int action) {
            cleanup(c, action == MOVE);
        public boolean canImport(JComponent c, DataFlavor[] flavors) {
              JTable table = (JTable)c;         
             int selColIndex = table.getSelectedColumn();
            for (int i = 0; i < flavors.length; i++) {
                if ((DataFlavor.stringFlavor.equals(flavors))&& (selColIndex !=0)) {
    return true;
    return false;
    }//TableTransferHandler classpublic class TableTransferHandler extends StringTransferHandler {
    private int[] rows = null;
    private int addIndex = -1; //Location where items were added
    private int addCount = 0; //Number of items added.
    protected String exportString(JComponent c) {
    JTable table = (JTable)c;
    rows = table.getSelectedRows();
    StringBuffer buff = new StringBuffer();
    int selRowIndex = table.getSelectedRow();
    int selColIndex = table.getSelectedColumn();
    String val = table.getValueAt(selRowIndex,selColIndex).toString();
    buff.append(val);
    return buff.toString();
    protected void importString(JComponent c, String str) {
    JTable target = (JTable)c;
    DefaultTableModel model = (DefaultTableModel)target.getModel();
    //int index = target.getSelectedRow();
    int row = target.getSelectedRow();
    int column = target.getSelectedColumn();
    target.setValueAt(str, row, column);
    protected void cleanup(JComponent c, boolean remove) {
    }Now I want to put in the following functionality into my program...
    [1]prevent dragging and dropping text in to the same table.That means I dont want to drag a cell content from Table1  and drop to another cell in Table1. Want to drag and drop cell content only from Table1 to Table2.
    [2]Change cursor on a un-defined Target. That means how to prevent a drag from a particular column in Table1.Also how to prevent a drop to a particular column in Table2. How to change the cursor to a "NO-DRAG" cursoror "NO-DROP" cursor.
    Could it be done using Drag Source Listener and drop Target Listener?.
    If yes,How can these listeners attached to the table and how to do it?
    If No,How Could it be done?
    [3]Want to change the background colour of the cell being dragged and also the background colour of the target cell where the drop is made...
    [4]Is there any out of the box way to make an undo in the target cell(where drop was made) so that the old cell value is brought back.
    How can I extend my code to take care of the above said things.
    Any help or suggestions is greatly appreciated.....
    Edited by: Kohinoor on Jan 17, 2008 10:58 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Guys,
    Iam into implementing drag and drop of cell contents between 2 different tables,say Table1 and Table2.(Iam not dragging and dropping rows or cells,Just copying the content of one cell to another).
    Have extended the java tutorial class "TableTransferHandler" and "StringTransferHandler" under http://java.sun.com/docs/books/tutorial/uiswing/examples/dnd/index.html#ExtendedDndDemo to satisfy my needs.
    The drag is enabled for Table1 and table2 as follows.
    jTable1.setDragEnabled(true);
    jTable1.setTransferHandler(new TableTransferHandler());
    jTable2.setDragEnabled(true);
    jTable2.setTransferHandler(new TableTransferHandler());
    Dont be taken aback with the code I have put.It just to show what I have done..
    My questions are put at the end of the post..
    //String Transfer Handler class.
    public abstract class StringTransferHandler extends TransferHandler {
        protected abstract String exportString(JComponent c);
        protected abstract void importString(JComponent c, String str);
        protected abstract void cleanup(JComponent c, boolean remove);
        protected Transferable createTransferable(JComponent c) {
            return new StringSelection(exportString(c));
        public int getSourceActions(JComponent c) {
            return COPY_OR_MOVE;
        public boolean importData(JComponent c, Transferable t) {
            if (canImport(c, t.getTransferDataFlavors())) {
                try {
                    String str = (String)t.getTransferData(DataFlavor.stringFlavor);
                    importString(c, str);
                    return true;
                } catch (UnsupportedFlavorException ufe) {
                } catch (IOException ioe) {
            return false;
        protected void exportDone(JComponent c, Transferable data, int action) {
            cleanup(c, action == MOVE);
        public boolean canImport(JComponent c, DataFlavor[] flavors) {
              JTable table = (JTable)c;         
             int selColIndex = table.getSelectedColumn();
            for (int i = 0; i < flavors.length; i++) {
                if ((DataFlavor.stringFlavor.equals(flavors))&& (selColIndex !=0)) {
    return true;
    return false;
    }//TableTransferHandler classpublic class TableTransferHandler extends StringTransferHandler {
    private int[] rows = null;
    private int addIndex = -1; //Location where items were added
    private int addCount = 0; //Number of items added.
    protected String exportString(JComponent c) {
    JTable table = (JTable)c;
    rows = table.getSelectedRows();
    StringBuffer buff = new StringBuffer();
    int selRowIndex = table.getSelectedRow();
    int selColIndex = table.getSelectedColumn();
    String val = table.getValueAt(selRowIndex,selColIndex).toString();
    buff.append(val);
    return buff.toString();
    protected void importString(JComponent c, String str) {
    JTable target = (JTable)c;
    DefaultTableModel model = (DefaultTableModel)target.getModel();
    //int index = target.getSelectedRow();
    int row = target.getSelectedRow();
    int column = target.getSelectedColumn();
    target.setValueAt(str, row, column);
    protected void cleanup(JComponent c, boolean remove) {
    }Now I want to put in the following functionality into my program...
    [1]prevent dragging and dropping text in to the same table.That means I dont want to drag a cell content from Table1  and drop to another cell in Table1. Want to drag and drop cell content only from Table1 to Table2.
    [2]Change cursor on a un-defined Target. That means how to prevent a drag from a particular column in Table1.Also how to prevent a drop to a particular column in Table2. How to change the cursor to a "NO-DRAG" cursoror "NO-DROP" cursor.
    Could it be done using Drag Source Listener and drop Target Listener?.
    If yes,How can these listeners attached to the table and how to do it?
    If No,How Could it be done?
    [3]Want to change the background colour of the cell being dragged and also the background colour of the target cell where the drop is made...
    [4]Is there any out of the box way to make an undo in the target cell(where drop was made) so that the old cell value is brought back.
    How can I extend my code to take care of the above said things.
    Any help or suggestions is greatly appreciated.....
    Edited by: Kohinoor on Jan 17, 2008 10:58 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • TableView auto resize columns based on header text width or cell content

    Is there a method on the tableview or tablecolumn to automatically resize based on the content of the hearder or data?
    If not what approach can used used with JavaFX to calculate the string width based on the current font?

    The table column size is inconsistent, I set the columns in the table view and the items in the initialize method. I execute a service and task from a button action that loads data into the list, if I don't reset the columns in the table view in the succeed method then each column is the same width regardless of the content in the cells. If I do reset the table columns in the succeed method then the columns are resized based on content.
    I don't think it should be a requirement to reset the columns just to get the column widths to set based on the content in the cells. Is there a method on the table column or view that will resize the cells based on the cell content? I would prefer the largest value; column header content or the longest cell content for a column.

  • Command links as column cell content...

    Hi
    I am trying to add command links as cell content. Clicking on one of the links will cause the outputText component located at the bottom to be updated.
    However, I can't differentiate the different links. Since the commandLink is generated for each row of data, the id generated for each commandLink component is the same. That is, I am getting the same ID when I call
    public void commandLinkActionListener(ActionEvent ae) {
    CoreCommandLink ccl = (CoreCommandLink) ae.getSource();
    System.out.println("commandLinkActionListener: " + ccl.getId());
    Is there any way to differentiate or pass unique data to the above action listener?
    The following is the code segment:
    <af:table emptyText="No items were found" value="#{MyTableBean.tableValue}"
    var="row" id="table">
    <af:column sortable="false" headerText="Name" formatType="text"
    id="nameColumn">
    <af:commandLink actionListener="#{MyTableBean.commandLinkActionListener}"
    partialSubmit="false" text="#{row.name}">
    </af:commandLink>
    </af:column>
    </af:table>
    <af:outputText value="Column Trigger: #{MyTableBean.text}" partialTriggers="nameColumn"/>
    Would appreciate any help on this.
    Thanks

    Found the answer from one of Frank's blog.
    public void commandLinkActionListener(ActionEvent ae) {
    CoreTable ct = (CoreTable) ae.getComponent().getParent().getParent();
    Object data = ct.getRowData();
    The data object is the type of object that you add to your List or CollectionModel.
    Note that the commandLink is a child of the column which is a child of the table.

  • ALV editable cell contents - transfer to own comp context without Enter

    Hi,
    Have WD ALV.  Some cells have been made editable.  Cell contents are only passed back to own component once user has pressed Enter.  There is a button with action on the view.  If this button and corresponding action is triggered without the user pressing enter first when maintaining the editable cell, the new cell contents are not available.
    Is there a way to manually trigger the frontend ALV contents to own component context to ensure working with what has been entered on-screen in ALV?  I seem to remember you can trigger a data check but not sure if this is the solution, will check, but grateful for any feedback in meantime.

    Hi there
    IE7 doesn't give me the add new page option and I get 404 error when trying to access the "How to contribute" section.
    I'll load up Firefox later (this browser usually works when IE7 doesn't always work properly).
    I'll copy the stuff to the wiki when I've got the browser sorted out.
    Cheers
    jimbp

  • Cell contents disapears in BPC reports

    Hi experts
    Here's a question I would like to ask you.
    The excel functions doesn't seem to work properly, when opening a certain report from the root folder.
    The numbers and formulas are certainly filled in each cells, but these cell contents vanish when I open reports.
    (I mean, when having a look at the formula bar, it sure has a certain number or formula, but it seems like nothing is filled in as a cell)
    Sometimes a part of the cell content disappear, and other times almost all of them vanish including the names of the dimension members.
    Besides, when I try some actions like dragging the pointer over vanished cells, some of them suddenly show me the content filled.
    Other mates use the same reports, but this strange phenomenon happens only to me.
    BPC version is for Net Weaver 10.0
    EPM Add-in 10.0.0.8268
    I  don't have any clue what I am supposed to do in order to solve this problem.
    Regards and Thank you
    Takeshi

    Hi Andy
    First of all, Thanks for your advice.
    The excel functions in my report work properly as a result !
    Unfortunately I couldn't install the latest EPM for some reason.
    So I upgraded my graphic driver this time as you advised me,
    and that was efficient for me.
    Thank you so much.
    Takeshi

  • Solaris packaging - "build" class action script

    I tried to create a package with a build class action script but having problem with it. I am wondering if any one could give me hint on how to solve this problem? I tried to follow the example on the Solaris tutorial but it didn't work either.
    In the prototype file, I have added: e build /etc/randomtable=etc/randomtable ? ? ?
    In the pkginfo I have added: CLASSES=�none build�
    Content of etc/randomtable in my build directory:
    !install
    # randomtable builder
    if [ -f $PKG_INSTALL_ROOT/etc/randomtable ]; then
    echo "/etc/randomtable is already in place.";
    else
    echo "# /etc/randomtable" > /etc/randomtable
    echo "1121554 # first random number" >> /etc/randomtable
    fi
    !remove
    # randomtable deconstructor
    if [ -f $PKG_INSTALL_ROOT/etc/randomtable ]; then
    # the file can be removed if it's unchanged
    if [ egrep "first random number" /etc/randomtable ]; then
    rm /etc/randomtable;
    fi
    fi
    The error I got after running pkgadd on that package:
    Modifying /etc/randomtable
    /var/sadm/pkg/BPCttdb.2/save/build/etc/randomtable: !install: not found
    /var/sadm/pkg/BPCttdb.2/save/build/etc/randomtable: !remove: not found
    /var/sadm/pkg/BPCttdb.2/save/build/etc/randomtable: test: unknown operator first random number
    pkgadd: ERROR: class action script did not complete successfully
    Some links related to class action script for solaris build:
    http://docs.sun.com/app/docs/doc/817-0406/6mg76stf7?a=view
    http://dlc.sun.com/osol/docs/content/PACKINSTALL/ch5pkgcasestudies-80583.html#ch5pkgcasestudies-56
    Thanks!

    I looked at the build script (/usr/sadm/install/scripts/i.build and r.build), and didn't see anything that parses the "!" directive. I'm not very familiar with build scripts, and the documentation is actually inherited from the original SVR4 documentation (not originating from Sun). But in looking at an example of a script that uses the build class, it expects the first argument to be either "install" or "remove" when called. So your example would look like this below. Note that my comment about the escaped comment can be ignored. It's surrounded by quotes, so is okay.
    if [ $1 = install ] ; then
    # randomtable builder
    if [ -f $PKG_INSTALL_ROOT/etc/randomtable ]; then
    echo "/etc/randomtable is already in place.";
    else
    echo "# /etc/randomtable" > /etc/randomtable
    echo "1121554 # first random number" >> /etc/randomtable
    fi
    else
    # randomtable deconstructor
    if [ -f $PKG_INSTALL_ROOT/etc/randomtable ]; then
    # the file can be removed if it's unchanged
    if \[ egrep "first random number" $PKG_INSTALL_ROOT/etc/randomtable \]; then
    rm /etc/randomtable;
    fi
    fi
    So basically the SVR4 Applications Developers Guide incorrectly tries to use the "!install" and "!remove" commands.
    -- Alan
    Edited by: alanst on Apr 4, 2008 12:26 PM

  • Is it possible to use wildcards to match cell contents in an if statement?

    I need to return a ID along with some other information on a page by page basis, so that the information comes out linked by position.  I use a couple of loops and if statements to navigate through the document.  I am able to use exact matches of cell contents which is fine when the contents doesn't vary.  But the IDs, though they have a similar pattern, are all different. In a menu driven search, I am able to find what I need with '150^9^9^9^9^9-^9^9^9' But when I try putting this (or any number of [0-9], *, ? combinations) it fails.  Is it possible to use wildcards?  The symbol used for the match (==) makes me suspect that it is not possible and that only literal, exact matches will work.  But I wanted to check with the experts before giving up.
    Thanks
    pcbaz

    Thanks for the input.  You're right, a GREP search is much more efficient.  But what I'm trying to do and the circumstances here don't allow me, I think,  to go that route. I am trying to generate a list of values coming from several textframes on a single page and have them come out so that I can tell which values belong together.
    I'm using an inherited document with masters that were created 'manually';  the index numbering for textframes and tables is random. I navigate through the pages, looping through textframe indices asking ' does this textframe exist?' If so, I ask if it is a table -- if no, it is a simple textframe and I ask about the ID, if yes, I ask if the contents of cell (0,0) (invariant position and contents) are equal to the table I want..  I am sending the ID and other pieces of information from the table to one row of a new table on a new page.  So the ID and other information from a single page are linked by being in the same row.
    I know this a little 'off-normal' -- I'm using the search to navigate through the document and find things by location the way you do with a spreadsheet.  I have devised a work-around that helps me get around the fact that the ID is not invariant.  I create a list of the (exact) IDs from another document, equating them to a variable ('a').  I then loop through the list of IDs and ask if the contents of the textframe is equal to 'a'..This works o.k, unless there happens to be an extra space, a different kind of hyphen, etc. It would be so much easier if I could use the wildcards that work in a menu-driven text or GREP search in script just to ask about the contents of the textframe.
    Thanks again
    pcbaz (Peter BIerly)
    P.S. we have since rewritten the masters so this problem will not exist in the future -- we now know exactly which textframe and/or table indices to refer to to get any particular bits of information and don't need to ask questions about the contents.

  • SAP GUI Java 7.10 rev 5: Copy cells content from ALV does not work (OSX)

    Hi all,
    I'm trying rev 5 for OSX. ALV aesthetics is really great but: copy cells content is not possible anymore.
    Nothing happens with command+C.
    I cannot copy anymore just a part of the cell content.
    Trying all possible key combinations, something is copied with Ctrl+C. When I paste it, the pasted content is something like this:
    (0100),RID(),CID(),RIDN(0),E(true),RO(false),CTL(-1)     (0000012338),RID(),CID(),RIDN(0),E(true),RO(false),CTL(-1)     (),RID(),CID(),RIDN(0),E(true),RO(false),CTL(-1)     (),RID(),CID(),RIDN(0),E(true),RO(false),CTL(-1)     (),RID(),CID(),RIDN(0),E(true),RO(false),CTL(-1)     (),RID(),CID(),RIDN(0),E(true),RO(false),CTL(-1)
    where "0000012338" is the content I wanted to copy.
    Any suggestion?
    Thanks,
    Lorenzo

    Hello Lorenzo,
    thanks for the feedback. We are working on it and if all goes well, a solution will be provided with 7.10 rev 6.
    Best regards
    Rolf-Martin

  • Space in table cell content

    Hi,
    I want to add some space before and after the table cell content. I am using setIntercellSpacing() method to achieve that and I could get the required functionality. But its adding space in the Table Header also which looks odd. Is there any way to set the spacing only for the cell and not for the table header.
    Let me know if anyone has solution for this.
    Thanks and Regards,
    R.Vishnu Varadhan.

    I find this behaviour of setIntercellSpacing() very annoying, too. Why the hell did the Swing developers implement it that way?
    Nevertheless, you can create the desired effect by writing a custom cell renderer, but that is if course more work than that single method call.

  • Problem in cell content of alv grid ...

    hi all,
         i want to get the cell content of alv grid in the handle method of event data_changed of cl_gui_alv_grid,
    i using the following code ...
    METHOD on_data_changed.
    DATA : lv_value(30) TYPE c.
    CALL METHOD ER_DATA_CHANGED->GET_CELL_VALUE
      EXPORTING
        I_ROW_ID    = 3
       I_TABIX     =
        I_FIELDNAME = 'cname'                                                                                "" my column table
      IMPORTING
        E_VALUE     = lv_value.
    MESSAGE lv_value TYPE 'I'.
        ENDMETHOD.
    endclass.           
    but i cant get the value of cell content
    Edited by: parashuram on Oct 21, 2011 3:49 PM

    Try this way
        method handle_data_changed.
          perform handle_data_changed using er_data_changed.
        endmethod.
    form handle_data_changed using p_data_changed type ref to
                                   cl_alv_changed_data_protocol.
      data: ls_mod_cell  type lvc_s_modi,
              lv_value_dni type lvc_value.
      loop at p_data_changed->mt_mod_cells into ls_mod_cell.
        call method p_data_changed->get_cell_value
          exporting
            i_row_id    = ls_mod_cell-row_id
            i_fieldname = 'FINI_SUST' <== Your field
          importing
            e_value     = lv_value_dni .
      endloop.
    endform.

  • Copy and paste cell content of web form of Hyperion Planning

    Our end users encountered performance issues in using the web forms of Hyperion Planning. We have some large web form with 60 columns and 100 rows i.e. around 6000 cells. When end user move around the cell they feel a slow response in the web form especially when copy and paste some cell content from one row to another, or a few cells from one position to other position.
    Anyone got similar experience in using web form? Also we understand that Hyperion design will check the cell content of each cell and generate a SQL query to the backend metadata database. It is quite time consuming and waste CPU resource because most of the time our end user will not keep the text information under each cell. We have consulted Oracle team and understand that we cannot disable the cell content checking via SQL query.
    Any workaround solution exists to reduce or remove the performance issue in cell content copy and paste?
    Thanks!

    Hyperion user wrote:
    Alp Burak wrote:
    Hi,
    We had faced the same issue a few years ago. One of our geeks had done a change in either Enterdata.js or Enterdata.jsp which disabled form cell validation. I don't currently have the code with me but it wasn't a big change really, remarking a function could be doing the trick.
    I don't think this is officially recommended by Oracle though.
    AlpThanks for your advice. We will try to locate the enterdata.jsp and enterdata.js and found out where the SQL being executed.We found out the Enterdata.js under the deployment directory of Weblogic. However it is over 400KB size and many many lines of codes. We think that it is very difficult to locate where should be customized to remove the SQL checking on cell content.
    \\Hqsws04\hyperion\deployments\WebLogic9\servers\HyperionPlanning\webapps\HyperionPlanning

  • 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

  • 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.

  • Link to Table cell content...

    Hi,
    I am Prashant.i am developing SDAP Portal.In that,I am populating data to the .NET SAP NwtWieaver Table control dynamically.I am also adding LinkToAction control to the table cell.I want some action should be carried out on clicking on that link.For that i am using LeadSelect event.
    Actually it works fine when i am putting data at design time by editing rows.But it does not work when i gather data from at run time.When i gather data at run time and when i click on some link,all the table data disappears.
    I can not understand why this is happened?. What properties should i set for the same.If any one knows, Please help me.
    Regards,
    Prashant J.

    Soory it is not SDAP.It is SAP....

Maybe you are looking for

  • How to add my drop down menu to my website

    I have been following a dreamweaver video to create a drop down menu with pure css which has turned out great.  My problem is when you follow a video I followed the instructions and started a new html and then attached the css styles to the new html

  • How can I safely and securely get files from my mac.

    I want something like LogMeIn Pro but for free. ther is a free version it DOES support mac BUT not gettong files. I want to be able to securely get files from my mac from school or anywhere whitout paying!! I HAVE had a look on google, no help.

  • Playlist I made on my ipod won't show up in itunes

    So! I have a new ipod touch fourth gen I did the software update recent and it just majorly screwed my iPod up more than anything else. I was capable of fixing the other issues by myself, but now for whatever reason after making a playlist on my ipod

  • EDI invoice reject

    Hi I have a scenario where the EDI invoice comes in a posts against a GR (standard GR/IR) ..I need to reverse the IR and send a IDOC (APERAK) to the vendor via EDI (Reject) the questions are 1)how the idoc is created after the invoice is rejected (us

  • No sound from nano in dock or car

    Hi guys, I need some advice. I bought a 7th gen iPod nano for my wife to use in her car but I can't get any sound from it when it's plugged in (head unit shows display artwork etc and nano seems to be playing but no audio) Tried it on my Bose soundoc