Permanently set Repeat cell values on table view obiee11g

Hi,
By default Analysis presentation Column comes with "Column Value Suppression" but we need to switch "Column Value Suppression" to "Repeat cell values" from source xml reference file
Note:don't want to do it via analysis table/column properties(its manual work) ..just looking to change permanently by changing xml
Thanks
Deva

Hi,
What is that datatypeformats.xml ? couldn't find out. once again will explain my requirement
Creating new analysis(Table/Pivot table view) and applying format as Repeat Cell by changing Table/Pivot Properties to set Enable alternating row "green bar" styling Repeat cell values on table/pivot view (instead of doing manual way)
Refer the below image --> i just want to avoid manual enabling below Repeat cell option for entire table/pivot view option
http://i.imgur.com/122wp.jpg?1
Thanks
Deva
Edited by: Devarasu on Nov 26, 2012 5:06 PM

Similar Messages

  • Unable to read edited cell values from table view 'LineEDIT' mode

    Hello Gurus,
    Need urgent help on Cell binding - Here's what I have:
    I have a bsp with one tableview for users to update shelf quantity.
    Selection mode is <b>Lineedit</b>. I used this only bcos in this I need not select a row to update it - let me know if this is wrong.
    Our users do not like to click on the row to select and edit it! I am not getting the edited values from the tableview.
    Although I am using a contoller and view, it's not really an MVC. Can someone please guide me on this?
    <b>
    code in IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS
    append initial line to p_column_definitions assigning <def>.
    <def>-columnname = 'SHLQTY'.
    <def>-title = 'Shelf Qty'.
    <def>-EDIT = 'X'.
    Code in IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
    p_replacement_bee = CL_HTMLB_INPUTFIELD=>FACTORY(
                                id        = p_cell_id
    *                            type      = 'DATE'
    *                            showhelp  = 'TRUE'
    *                            type       = 'QUAN'
                                VALUE      = val
                                cellvalue = 'TRUE'
                                _VALUE = P_CELL_BINDING )
    </b>
    I do not see anything coming in <b>P_CELL_BINDING</b> .
    Tableview in layout
    <b>
    <htmlb:tableView id                    = "result"
                           design                = "STANDARD"
                           headerText            = "Header Text"
                           filter                = "SERVER"
                           onNavigate            = "onMyNavigate"
                           selectionMode         = "lineedit"
                           emptyTableText        = "No records found!"
                           onRowSelection        = "onMyRowSelection"
                           allRowsEditable       = "TRUE"
                           selectedRowKeyTable   = "<%= rkTab %>"
                           table                 = "<%= datatab %>"
                           selectedRowIndexTable = "<%= sRTable %>"
                           iterator              = "<%= iterator %>"
                           visibleRowCount       = "10" >
          </htmlb:tableView>
    </b>
    I update an internal table Datatab with all the values I require.
    Any idea why the cell binding id not working?
    Many thanks in advance.
    Mike

    Hi Mike,
    databinding is not possible with application classes. There are just a nice way to handle "session variables". You can use them with MVC as well.
    Before MVC there was flow logic. Single formfield-values are receved e.g. when declared as page parameters. Values from tableViews are received e.g. in OnInputProcessing" by fetching the TV-Object from HTMLB_MANAGER and then calling methods like "GET_CELL_VALUE".
    DATA: tv          type ref to CL_HTMLB_TABLEVIEW,
          table_event type ref to CL_HTMLB_EVENT_TABLEVIEW.
    tv ?= CL_HTMLB_MANAGER=>GET_DATA( request = request
                                      name    = 'tableView'
                                      id      = 'mytv1' ).
    table_event = tv->data.
    myValue = table_event->get_cell_value( row_index  = 1 column_index = 1 ).
    good luck,
    stefan.

  • Iam using a table in numbers to plot daily graph lines. If I fill a cell with a text box  at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is tho

    I am using a table in Numbers to plot daily graph lines. Mood swings of how I am on the day, i"m a depressive.
    If I fill a cell with a step box at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is there a work around. so thatbgraph only plots on the day?

    The answer is (sort of) in your subject, but edited out of the problem statement in the body of your message.
    When you use a stepper or a slider, the value in the cell is always numeric, and is always placed on the chart if that cell is included in the range graphed by the chart.
    But if you use a pop-up menu cell, you can specify numeric or text values in the list of choices for in the menu. Numeric values will be shown on the chart. Text values will not.
    For the example, the values list for the pop-up menu was:
    5
    3
    1
    Choose
    -1
    -3
    -5
    The first pop-up was set to display Choose, then the cell was filled down the rest of the column. Any text value (including a single space, if you want the cell to appear blank) may be used instead of Choose.
    For charts with negative Y values, the X axis will not automatically appear at Y=0. If your value set will include negative values, I would suggest setting the Y axis maximum and minimum to the maximum and minimum values on your menu list, rather than letting Numbers decide what range to include on the chart. Place a line shape across the chart at the zero level, and choose to NOT show the X axis.
    Regards,
    Barry

  • When I open Safari, I always type command-plus to enlarge the view.  However, I can't figure out how to permanently set the Safari screen to this view setting in the preferences.  Any ideas?

    When I open Safari, I always type command-plus to enlarge the view.  However, I can't figure out how to permanently set the Safari screen to this view setting in the preferences.  Any ideas?

    Sorry, but you must Command + for every page. It's not permanent.
    If you haven't tried yet, check out Zoom in Safari > Preferences > Accessibility

  • How to set image size in a table view

    Hi,
    I've just built a small VC application showing some process chain logs in a table view. For the different status types Error, Warning and Success I show the well-known traffic light icons. But up to now I haven't found out how to set the image size in a table view (height & width field is greyed out for the table). Any ideas? Or is it just not possible?
    Thanks for your help,
    Heiko

    Hello Heiko,
    I don't know, if it is possible, but I would say,
    it's not implemented yet. Maybe you can change the picture size and use then the pictures, that might be a workaround, if you can't change the height and width in VC.
    Best Regards,
    Marcel

  • BC4J,Setting a default Value In a View With Data From An Other View

    hi
    I'm developping A BC4J. I want to set the default value of a field By counting the number of rows in an other view.
    So I want to instanciate the view and execute the sql statement and get the result.
    Is that the right manner to do it or not.
    can someone help me to do that
    cheers
    ghassen

    There's lots of ways to skin this cat depending upon whether you mean "database view" or "view object" when you say "view", and individual requirements.
    Given database views v1 and v2 with a common key between them
    select v1.x, count(*) from v1,v2 where v1.key = v2.key group by v1.x;
    either in the database view or in expert mode for the view object ( I think it'll take group by, but never done it ). ( assumption is that v1.x is a primary key for v1 )...
    Try this from sql*Plus first to get a feel for how this works.
    The catch with the above is that it is "static"... if you can ADD rows to v2 in your application... they aren't visible in the count until saved and requeried.
    Another way ( I think... hopefully Oracle folk will kibitz... )
    Create your own attribute on the view object like "TheOtherCount".
    In the view object's RowImpl, find the "getTheOtherCount". Find the count of rows in the second view object or entity object or rowSetInfo through the method of your choice. ( If you've already set up a master detail relationship that is active you can just get the rowcount! ). Refer to earlier postings on how to get the rowcount, or to create a dynamic view query to get the count.
    The nice thing is that this should reflect your counts even if the second view has added or removed rows... but will probably move like a snail.
    Note that if you have a need where you want the row count updated in a frame for v1 whenever v2 is added to or removed from... well... then you need to set up some sort of event listener to do a redisplay of v1's frame, I'd think? Since the attribute you've created in the view object is not based on an entity object attribute, it has no way to know when it has been "updated" via an additional or removed row from the target.
    I'm posting the above because no one has responded yet... it may form a place to start from. And maybe someone in the know will go "No, No, No... KKirk... it doesn't work that way at all!" and fill us in on how this can be accomplished!
    Good Luck

  • Retrieve value form Table view when the selection mode is 'NONE'

    Hi,
    I am new to ABAP, Can anyone tell me how to reterieve the records of the tableview, i have the selection mode as 'NONE'. When the button is clicked i need to reterieve all the values from the table and display it in the next screen.
    I am able to diaplay the table values , but i am unable to reterieve the values on Inputprocessing.
    Its very urgent. Please help me
    Regards,
    Jose

    you are able display the table view means, you have the data in internal table.
    you need all the records that are displayed in the table view with out selection. why dont you use that internal table itself, which is displayed as table view.
    vijay

  • Set different default values for table built using subforms

    I'm using Designer 7.1 and need to have tables with a fixed number of rows, where the first column is readonly and displays a set of distinct values. For example
    Body System Normal Abnormal Comments
    Head
    Neck
    Respiratory
    etc.
    I'm constrained to building the table using subforms. I'd love to do it using the new table feature but this will not interface with our software.
    I'm trying to put Javascript code in the Initialize section of the body subform that puts a different value in each row. I'm not finding a way to distinguish one row from the other. If I simply say
    this.body_system.rawValue = 'Head'
    Then all of the rows will have 'Head' in the first column.
    I've tried the following but it doesn't work:
    this.body_system.rawValue[0] = 'Head'
    this.body_system.rawValue[1] = 'Neck'
    Thanks for your help!
    Peter

    That worked perfectly. I'd love to have figured that out myself but it must be buried in the help somewhere. Is there a good reference document for LiveCycle Designer Javascript? I've scoured around but could only find bits and pieces.
    BTW here's the code that worked:
    xfa.datasets.data.resolveNode("form1.TableParent.TableBodyRow[0].body_system").value = 'Head;
    xfa.datasets.data.resolveNode("form1.TableParent.TableBodyRow[1].body_system").value = 'Neck';
    etc.
    Thanks so much!
    Peter

  • Drop mouse cursor disappears after setting custom cell renderer in table.

    Hi,
    I've a JList and a JTable, drag&drop works ok between them. Now, if I change TableCellRenderer to custom cell renderer, say a descendent of JComponent that implements TableCellRenderer, it doesn't display drag cursor when it's on top of a cell, and on 1 pixel grid lines it displays right again. can someone help me to fix this issue.
    Regards, thanks in advance,
    Ozgur

    it doesn't display drag cursor when it's on top of a cell, and on 1 pixel grid linesThe following renderer works ok for me, although I must admit there is a slight "flicker" when you move over the grid line. Not sure why that happens.
         class MultiLabelRenderer implements TableCellRenderer
              private JPanel panel;
              private JLabel red;
              private JLabel blue;
              public MultiLabelRenderer()
                   panel = new JPanel(new BorderLayout());
                   red = new JLabel();
                   red.setForeground(Color.RED);
                   blue = new JLabel();
                   blue.setForeground(Color.BLUE);
              public Component getTableCellRendererComponent(
                   JTable table, Object value, boolean isSelected,
                   boolean hasFocus, final int row, final int column)
                   String text = value.toString();
                   red.setText( text.substring(0,1) );
                   blue.setText( text.substring(1) );
                   panel.removeAll();
                   int columnWidth = table.getColumnModel().getColumn(column).getWidth();
                   int redWidth = red.getPreferredSize().width;
                   if (redWidth > columnWidth)
                        panel.add(red);
                   else
                        panel.add(red, BorderLayout.WEST);
                        panel.add(blue);
                   if (isSelected)
                        panel.setBackground( table.getSelectionBackground() );
                   else
                        panel.setBackground( table.getBackground() );
                   return panel;
         }

  • Dynamic setting of cell attributes in Table Controls

    Hi everybody,
    I would like to set dynamicly wheather a cell or a line in a Table Control is only for output or ready for input.
    I know how it works with columns, but nothing is said about cells or lines.
    Thanx for clues.
    Greets
    Olaf

    Hi Olaf,
    Basically this works the same for all fields. However for table controls you should do the 'LOOP AT SCREEN' (within routine modify_screen_line in the example code) within the LOOP/ENDLOOP over your table control:
      LOOP AT   g_tc_itab
           INTO g_tc_wa
           WITH CONTROL tc_delivplant
           CURSOR tc_delivplant-current_line.
        MODULE modify_screen_line.
      ENDLOOP.
    Regards,
    John.

  • Get selected row values from Table view control

    Hi ,
    I am using transaction ME23N, would like to access row values from item table for selected row. I have written a script as in screen shot and its giving me error at java script step two. I want to get the PR number from item table for selected row.
    With Regards
    Vishal Lokapur

    H Vishal,
    Can you please share how you were able to resolve the issue regarding the selected row
    in case of a table control .
    Regards

  • Cell Binding/Table View Iterator

    Hi Friends,
    I am getting error while editing the particular cell of column table view. when I enter the changes, they are not updating in the cell.I used the following code.
    method IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS .
    APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
    <def>-COLUMNNAME = 'RELDATE'. <def>-EDIT = 'X'.
    method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_ROW_START .
    m_row_ref ?= p_row_data_ref.
    endmethod.
    method
    IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START .
    CASE p_column_key.
    WHEN 'RELDATE'.
    IF p_edit_mode IS NOT INITIAL.
      DATA: Rdate TYPE STRING.
      Rdate = m_row_ref->RELDATE.
      p_replacement_bee = CL_HTMLB_INPUTFIELD=>FACTORY(
                              id        = p_cell_id
                              value     = Rdate
                               type      = 'DATE'
                               VALUE = PCELL_BINDING
                                showHelp  = 'TRUE'
                                encode = 'TRUE').
    I am bit confused abt MVC.Please mail me the exact code changes to be done in MVC-Class controller.
    Regards
    CSM Reddy

    Pls check the code, & mail me back in case of any errors.
    method DO_HANDLE_EVENT .
    DATA: itabtype  type standard table of stdview1.
    DATA: tv TYPE REF TO cl_htmlb_tableview.
      tv ?= cl_htmlb_manager=>get_data(
                              request      = runtime->server->request
                              name         = 'tableView'
                              id         = 'stdview1' ).
      IF tv IS NOT INITIAL.
        DATA: tv_data TYPE REF TO cl_htmlb_event_tableview.
        tv_data = tv->data.
        IF tv_data->prevselectedrowindex IS NOT INITIAL.
          FIELD-SYMBOLS: <row> like LINE OF ITABTYPE .
         READ TABLE ITABTYPE INDEX tv_data->prevselectedrowindex
         ASSIGNING <row>.
          DATA value TYPE string.
          value = tv_data->get_cell_id( row_index    =
                       tv_data->prevselectedrowindex
                                         column_index = '6' ).
          DATA: inputfield TYPE REF TO cl_htmlb_inputfield.
          inputfield ?= cl_htmlb_manager=>get_data(
                              request      = request
                              name         = 'DESCRIPTION'
                              id           = value ).
    <row>-DESCRIPTION = inputfield->value.
    ENDIF.
    ENDIF.
    Regards
    CSM Reddy

  • Using interface builder to create a table view and add a cell

    So I am using interface builder to make a table view. Should be easy. I drag a table view controller to my view, then it seems I should be able to drag a table view cell to the table view but it won't let me drop it down. If I do it in the documents window it just replaces the table view with a cell. Seems like this shouldn't be hard, but it's one of those things that should take 2 seconds but I have been messing with it for hours. It seems like most of the examples I have looked at in the same code don't use iB so I haven't found a good reference. If somebody can point me in the write direction let me know.

    I struggled a bit too. Here's what I did on my recently completed app. I used IB to create the basic view and add the table. That's it. Then ensure your UIViewController based class implements the UITableViewDelegate and UITableViewDataSource protocols. Your cells will come from those methods, not anything you do in IB.
    If you're creating a set of screens that just have tables that allow you to navigate up and down through the data then IB isn't worth using at all.
    Just have your views extends UITableViewController and follow some of the supplied table based example apps.
    I rewrote my first app 3 times as I slowly figured all of this out.
    Hope that helps.

  • How can I create a Table View in Cocoa Applescript?

    This is my last resort. I've searched for days and only found tutorials for iPhone and Cocoa, and I have no idea where to start. I'm looking for a way to create a Table View, and fill it with a few cells that call a handler when clicked. I've looked through the Xcode help, the Apple documentation, and countless tutorials, and I don't know what to do. I'm sure what I'm asking is possible, because usually what is possible in Cocoa is possible in Cocoa-Applescript.
    Perhaps something like:
    myTableView's addCell_OfType_WithHandler("This is a text cell", text, "myHandler:")
    I would appretiate any responses and brief descriptions on the matter.

    You did not answer my first question, which was not an idle question. I'll answer here, but if cross-chatter appears in a different thread I'll ignore it. You'll have to keep track of the mess yourself.
    Apple_For_The_Win wrote:
    At this point, I've dragged a Table View onto my window, in Xcode. I've connected it to the value "myTableView", and that's where I need help. I'm specifically trying to add cells into the table view.
    I'll assume that 'connected it to the value "myTableView"' means that you've control-dragged in XCode from the table view in Main Menu.xib to a property in your applescript app delegate called myTableView. If that's not the case, please correct me.
    I prefer to use an array controller for this, so please drag an array controller object into main menu.nib. once you've done that, do the following:
    open the applescript app delegate and add a new property called "tableController"
    select the table view in the object list (you may need to open some disclosure triangles to reach it). and add appropriate (an) column name(s). you can hide column titles later if you like, but having named columns makes life easier.
    select the array controller in the object list
    rename the array controller "table data"
    open the attributes inspector, and then add the column name(s) as key(s) in the object controller area
    open the bindings inspector, and where it says "controller content", open the disclosure arrow and bind the content to the App Delegate object on the model key path self.tableController
    select the table view in the object list again, then go down a level and select each column in turn
    for each column, open the bindings inspector, and where it says "value", open the disclosure arrow and bind the content to the Table Data object with the controller key arrangedObjects model key path being the name of the column (which is the name of the key in the controller as well)
    back in the applescript app delegate, add code like the following:
      -- create a list of records, where each record represents a row and the column name is the record key
      set myData to {{column_1_name:"hello"}}
      -- convert it to an NSArray and add it to the controller content. don't forget the *my* keyword, or it won't work
      set my tableController to NSArray's arrayWithArray:myData
      -- may or may not be needed
      myTableView's reloadData()
    That should populate the table with simple text. if you want something more complicated (like buttons or links) then create the more complicated elements separately and add them to the data.

  • Default cell values for column not properly saved in uir file in labwindows 2009 (9.1.0 427)?

    I've run into a strange problem with the table control.  Basically, even though I set default cell values for a particular column as numeric, when I try to add items to the list it tries to add them as strings, and returns an error message that it is expecting *char instead of int.  Furthermore, when I open the uir file that contains the table in question in 2010, it appears as if the default cell values for that column are still set as strings, even though in 2009 when I open the uir file it shows as numbers.  I tried converting the uir to C code, and sure enough the C code indicated that the column still is a string type.
    I've gone ahead and made a small project to show the issue.  If you open this project in labwindows 2009 and click on the table in the table_bug.uir, and edit default cell values for column 1, you will see that the cell settings have type as numeric and data type as int.  When you run the project, however, it will fail with an error message saying that it is looking for a *char.  When this same project is loaded into labwindows 2010, clicking on the table in table_bug.uir and edit default cell values (column 1) shows the type as string.  When I change this to numeric (and change numeric attribute to int), this runs fine in 2010.  I tried simply changing the uir in 2010, and then using it in 2009, but 2009 complains that the uir is from a newer version (understandable).  If there is any workaround that would let me continue to use 2009 for the time that would be great.
    Any help would be greatly appreciated.
    thanks,
    Alex Corwin
    Solved!
    Go to Solution.
    Attachments:
    table_bug.zip ‏324 KB

    I opened the UIR in 2009 (but I have 2009 SP1) and it still showed that the default value for the first column was a string. I didn't have any problems changing it to a numeric int, and then building and running the project without error.
    Here are a few things you can try:
    1) Change the default value to a string. OK out of the dialog, re-enter the dialog, and change it back to Numeric int. Resave and see if the problem has gone away.
    2) You said you get a ".UIR is from a newer version" error when opening the 2010 UIR in 2009. Does the UIR still open if you click okay? Often times this will work just fine. Assuming you don't have any problems with this, make a minor change to the UIR in 2009, such as moving the table to the left, and then back to the right and then re-save. See if your program works now.
    Kevin B.
    National Instruments

Maybe you are looking for