Changing Cell Contents

Hi folks,
I have a requirement to display table output in an ALV grid, making 1 column editable.
I have done this by setting the EDIT = 'X' flag in the field catalog for the field in question.  Yet, when the field value is modified and the users try to continue processing, I cannot find the value that was changed.
The process for building and displaying the table is as follows:
1)
  method constructor.
*/ Initialise variables here...
*/  Set the name of the internal table that will be displayed
*/  in the ALV grid
    m_active_Table = 'IT_SPECTRUM_RECS'.
2) 
*/  Assign the data display table to a field-symbol for ALV display
    assign (m_active_Table) to <fs_datatab>.
3)
    call method go_grid->set_table_for_first_display
      EXPORTING
        is_layout            = ms_layout
        is_variant           = ms_Variant
        i_save               = m_var_save_st
        it_toolbar_excluding = mt_Excl_UI_Func
      CHANGING
        it_sort              = mt_sort
        it_fieldcatalog      = mt_FieldCat
        it_outtab            = <fs_datatab>.
Coming back into the PAI of the program, the changes in the editable field are not displayed, only the PBO values of the table (IT_SPECTRUM_RECS) and the field symbol <FS_DATATAB>.
My requirement is to loop through the table and verify the edited column details.  Any thoughts would be greatly appreciated, and points will be rewarded accordingly.
Cheers,
Stephen

Hello,
Check if you have done the following:
---You have to modify the field Catalog fields to set the field EDIT as 'X'.
---Call the method
CALL METHOD ALV_GRID_INSTANCE->set_ready_for_input
EXPORTING
i_ready_for_input = 0. ( For Display ) and '1' for Edit )
Put this after the set_table_for_first_display method.
--- If you want to check if the user has entered any value on the grid, use the Method : CALL METHOD ALV_GRID_INSTANCE->check_changed_data.
This will reflect as a change in your existiing data table to new data added on the editable grid.
For example,you can use it at user-command 'SAVE':
  WHEN 'SAVE'.
      call method alv->check_changed_data
                 importing e_valid = l_valid.
      if l_valid = 'X'.
        MODIFY SPFLI FROM TABLE I_SPFLI.
      endif.
Regards,
Beejal
**Reward if this helps

Similar Messages

  • How to change the content of a cell in an ALV-List?

    Hi,
    knows anybody a way to change the cell-content in an ALV-List?
    In my case, I want to give the user the posibility to click on a pecific cell
    in the list and change in an edit-mode or similar else!?
    Thanks for your ideas!

    Get the existing field catalog using the method cl_gui_alv_grid->get_frontend_fieldcatalog. Change the edit property in the field catalog and refresh it using the method cl_gui_alv_grid->set_frontend_fieldcatalog.
    Hope this helps.
    Regards,
    Nithya

  • Change the default setting of 'Match entire cell contents' in Excel 2007

    Hi,
    I am using Excel 2007 on Windows 7 and need to search the contents of cells in a large spreadsheet on a regular basis.
    When I open the Find and Replace dialogue box, the Match entire cell contents option is always checked. I deselect this to search for the cell contents I require. If I then enter any values into a cell and try to search for another cell,
    the Match entire cell contents option is activated again.
    Is there a way to change the default setting for this checkbox to be off rather than on?
    Thank you,
    Nitin Suneja

    Hi Chad,
    I will check if it is something localised to the spreadsheet itself as it is shared by a number of people and all are having this problem with this sheet.
    Thanks for looking into this for me.
    Nitin.

  • Cell content never change in "calendar" in Numbers

    I am tracking intraday profit in Numbers, I am using the template “calendar”. Problem is cell content stays the same in each month. What formula to use?

    When you change the pop-up you are only changing the month the table shows.  If does NOT store what you enter in a special place for each month.
    I think you would find it easier to simply enter the daily information into a list which is summarized in a single table like this:
    Make two tables:
    1) called "Information" as shown on the left, above
    2) called "Summary" as shown on the right, above
    For the table on the left, titled "Information":
    make the first two rows a header using the Table formatter:
    And set up as show in the first image I posted.
    Now expand the size of the table by selecting column A (click the letter "A" at the very top of the table) and add addiitional rows by holding the command and option keys which pressing the down arrow until there are at least 365 rows.
    A3=DATE($B$1,1,1)+DURATION(0,1)×ROW()−3
    this is shorthand for... select cell A3, then type, or copy and paste from here, the formula:
    =DATE($B$1,1,1)+DURATION(0,1)×ROW()−3
    type the enter key.  Now select cell A3, again, copy
    now select  column A by click the letter "A" at the very top of the column.  now hold the command key and click cell A1, and A2 to unselect them.
    paste
    you will enter the daily amounts in column B.
    Now let's create the summary table.  Add a new table and size as show on the right in the first image of this post.  Make the first row a header.
    in cell A2 type "January" without the double quote
    now fill this down to enter the months by hovering the cursor over the bottom edge of the cell and dragging the yelow circle down
    B2=SUMIFS(Information::B,Information::A,">="&DATE(Information::$B$1, ROW()−1, 1), Information::A, "<="&EOMONTH(DATE(Information::$B$1, ROW()−1, 1),0))
    this, again, is shorthand for select cell B2, then type (or copy and paste from here) the formula:
    =SUMIFS(Information::B,Information::A,">="&DATE(Information::$B$1, ROW()−1, 1), Information::A, "<="&EOMONTH(DATE(Information::$B$1, ROW()−1, 1),0))
    now select cell B2, then copy
    select column B, then unselect cell B1 (by command  + click), then paste

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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

  • Re-name worksheet tabs from cell contents?

    Is is possible to re-name worksheet tabs automatically from cell contents in another sheet within the same workbook?
    I have a workbook with 30 sheets all feeding data into sheet 31 - the Master Worksheet where all the data is collated etc.
    There are occasions when I'll need to rename the individual sheets, but is there a way to change this in my 'master worksheet' without having to go back and individually re-name all the other sheets?

    General,
    At this time there is no way to do what you want.  If you can formulate a clear feature request you can post your idea to Apple using the menu item "Numbers > Provide Numbers Feedback".
    There is a way, however, to use a function called indirect() that can take input from a table to construct a cell reference.  Not know your specific setup it is hard to provide a specific suggestion. 

  • SAP Portal development-Table Controls having link to table cell content

    Hello all,
    I am creating the SAP portal in which i am using Table controls to display the data. I want the function should be called whenever user clicks the table cell content. i.e. i want to create the function link to table cell.
    Please reply soon.
    Regards,
    Prashant

    Hi Prashant,
    You haven't mentioned if you are using Webdynpro or HTMLB JSPDynPages.
    If its the webdynpro, you can declare then and there itself that the content to the table column is a row my changing the property.
    If it is a HTMLB component TableVIew that you are trying to use, you can include a TableCellRenderer Class which renders the cells of the table at the runtime as links or buttons or whatever you want to put.
    So let me know, what exactly you are trying to use, then finding a solution will be more clear.
    regards,
    Sujana

  • Change cell color of query results,font size,style

    Change cell color of query results,font size,style
    Hello
    I have this code below and I want to know if it is possible
    to make the column header a font style different
    Example:
    Font size =12
    Verdena
    blue
    And the cell of the column name a different color for ex
    Yellow
    Can this be done here and where in this code do I put it??
    Thank you so much
    <cfquery name="gelov datasource="kl90">
    SELECT
    FROM
    WHERE
    ORDER BY
    <cfswitch expression="#Form.orderBy#">
    <cfks value="KSNUMBER">
    KS.KS_NBR
    </cfks>
    <cfks value="CREATIONDATE">
    KS.KREATDAT
    </cfks>
    </cfswitch>
    </cfquery>
    <!---html report--->
    <cfswitch expression="#Form.outputFormat#">
    <cfks value="HTML">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Ctwye Kss Report</title>
    </head>
    <style type="text/css">
    table{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    td{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    th{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    h2{
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    h3{
    font-family:Arial, Helvetica, sans-serif;
    font-size:13px;
    </style>
    <body>
    <cfoutput>
    <table border="0" cellpadding="3" cellspacing="0">
    <tr>
    <td align="center">
    <h3>Ctwye Kss
    Report</h3><br><br></td>
    </tr>
    <tr>
    <td align="center">
    </h2>report returned #getCtwyeKss.RecordCount#
    records</h2></td>
    </tr>
    <tr>
    <td>
    <table border="1" cellpadding="2" cellspacing="0">
    <tr>
    <td width="160">Ks Number</td>
    <td>K-date</td>
    <!--- <td class="dataField">Address</td>
    <td class="dataField">Type</td>
    <td class="dataField">Description</td>--->
    </tr>
    <cfloop query="getCtwyeKss">
    <tr bgcolor="<cfif currentrow mod
    2>GHOSTWHITE<cfelse>WHITE</cfif>">
    <td>#KS_NBR#</td>
    <td>#dateformat(KREATDAT,"mm/dd/yyyy")#</td>
    </tr>
    </cfloop>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    </cfoutput>
    </cfks>
    <cfks value="CSV">
    <CFHEADER NAME="Content-Disposition" VALUE="attachment;
    filename=ctwye.csv">
    <cfcontent type="application/msexcel">"Ks
    Number","K-date"
    <cfoutput
    query="getCtwyeKss">#ltrim(KS_NBR)#,"#dateformat(KREATDAT,"mm/dd/yyyy")#"
    <tr #IIF(getCtwyeKss.CurrentRow MOD
    2,DE(''),DE('backgroundColor="##999"'))#>
    <!---<tr bgcolor="<cfif currentrow mod
    2>##808080<cfelse>##ffffff</cfif>"> --->
    </cfoutput>
    </cfks>
    </cfswitch>

    By using <TH> instead of <TD> on your header row
    you can then specify different font type and size in your CSS code.
    th{
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    I'm guessing this is your header?
    <tr>
    <td width="160">Ks Number</td>
    <td>K-date</td>
    <!--- <td class="dataField">Address</td>
    <td class="dataField">Type</td>
    <td class="dataField">Description</td>--->
    </tr>
    If so, change these <TD> to <TH>
    <tr>
    <th width="160">Ks Number</th>
    <th>K-date</th>
    <!--- <th class="dataField">Address</th>
    <th class="dataField">Type</th>
    <th class="dataField">Description</th>--->
    </tr>

  • ALV grid modifying cell content

    Hi ,
    I'm woking on a class based ALV GRID program.
    In it i have to change the content of one cell when another cell content is changed.
    I have done the using
    1.Handle data changed in grid
      METHOD handle_data_changed.
        PERFORM data_changed USING er_data_changed.
      ENDMETHOD.
    *2
    DAta :  pw_data_changed2 TYPE REF TO
    cl_alv_changed_data_protocol.
      CALL METHOD pw_data_changed2->modify_cell
                      EXPORTING i_tabix     = pwl_row_id
                                i_fieldname = pw_fldname
                                i_value     = pw_fldvalue.
    The problem is the cell contents are changing  only when i press enter button. Is there any way as soon as i change the contents of one cell other cell contents also changes.
    Regards
    Srikanth

    hanks for the suggetions .
    When I add the
      CALL METHOD w_grid->register_edit_event
      EXPORTING
      i_event_id = cl_gui_alv_grid=>mc_evt_modified.
    My earlier statements to display the error messages from
    CL_ALV_CHANGED_DATA_PROTOCOL are not working (CL_ALV_CHANGED_DATA_PROTOCOL=>ADD_PROTOCOL_ENTRY).
    But when I comment
    CALL METHOD w_grid->register_edit_event
      EXPORTING
      i_event_id = cl_gui_alv_grid=>mc_evt_modified.
    and press enter then the error messages in the popup window are displayed.
    I tried using CL_GUI_CFW=FLUSH also. But it also not working.
    why CL_ALV_CHANGED_DATA_PROTOCOL=>ADD_PROTOCOL_ENTRY is not working when i add mc_evt_modified  .

  • Modifying the cell content based on input parameter from variable screen.

    I am trying to modify a cell content in the BEX Web Application Report based on the input parameter from the variable screen.
    I am already aware of how to change the cell content by creating a new ABAP class and inheriting CL_RSR_WWW_MODIFY_TABLE.
    I do not know how to get the input parameter variable from the variable screen in my custom class ZCL_RSR_WWW_MODIFY_TABLE. I am not very familiar with ABAP and would appreciate your help.
    Thanks
    Sowmini

    in the start method
    define a work area like line of n_r_data_set->N_SX_VERSION_20A_1-TXT_SYMBOLS
    loop at n_r_data_set->N_SX_VERSION_20A_1-TXT_SYMBOLS into <wa> ..
    endloop .
    This will have all the filter, variable values entered in the selection.
    Regards
    Raja

  • Wrapping table cell contents

    Hi
    I have a requirement where i need to wrap my table cell contents.I have chekced all the properties of table but none serves my purpose.Kindly help in this direction.
    NWDS version : 7.3
    Server version : 7.3 SP02
    Thanks
    Monika

    Hi Monika
    Wrapping property is not available at table level.
    The individual columns header and content in the text views only you can wrap.
    If the table column cell editor is a Text View , then you can see the Wrapping property and you can change it to true for wrapping.. For column headers also you can set the property.
    Regards
    Venkata KALYAN

  • UITableView can´t reload cell contents

    Hi,
    I´m trying to reload the table view using [tableView reloadData]; and it works fine, the table view reloads its data. The problema is that the cell contents don´t change.
    When I create the cells at cellForRowAtIndexPath, I use:
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier];
    if(cell == nil){
    cell = [self reuseTableViewCellWithIdentifier:identifier];
    When I reload the data, the cells keep the same identifier, but it shouldn´t. Is there anyway to complete clear all the references between the cells and its identifiers and then reload the table view?
    Thanks,
    Pitteri

    Hi, the identifier is not ment to identify a single cell but a specific type of cell. Each cell of the same type should have the same identifier. So even a cell is reused, you still have to set it's content to be displayed correctly.
    It's absolute correct that the identifier stays the same on reload.

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

Maybe you are looking for

  • Charger Alert for BlackBerry 10

    Charger Alert for BlackBerry 10 is now available on BlackBerry World. Use Charger Alert to warn you with an alarm if somebody unplugs your phone from the charger. Charger Alert also provides information about your battery and can alert you when your

  • How to remove archive log files from ASM managed 11g R2 database?

    Hi, I am planning to automate deletion of older archive log files from my 11g R2 Production instance which is ASM managed. Also want to remove the archive log files files from standby database. Please provide your inputs on how can I remove the older

  • Where can I find an ipod nano 6th generation

    I would like to know where can I get the ipod nano 6th generation?, I live in Toulouse, France

  • Permanently set registry EnableRbacReporting=0 in reporting services ?

    Hi Guys and gals I would like to permanently disable the "EnableRbacReporting" setting i SCCM 2012 R2 - Reporting Services. How is this possible and is this in fact possible? /Leth

  • WLST command to shutdown a composite

    Hello, we would like to set up a regular recycling of our Oracle SOA clustered environment. Before stopping the Managed Server we would like to shutdown a particular composite otherwise we are going to get queues on this composites. I am searching fo