Changing row color when ever will select that row.

Hello,
After applying themes which property do i need to to change so that the color of the row will change from from dark yellow to some light color when ever i select that perticular record
in table UI Element.
Thanks & Regards
   Kiran

Hello Kiran,
In theme editor go to Complex Elements -> Tables -> Side Heading Selected Cells -> Background color of Primary selection.
Hope this helps.
Cheers-
Pramod
award points if helpful.

Similar Messages

  • Changing Row color when ever I select perticular row

    Hello,
    After applying themes which property do i need to to change so that the color of the row will change from from dark yellow to some light color when ever i select that perticular record
    in table UI Element.
    Thanks & Regards
       Kiran

    Hi Kiran,
          After setting the theme, you will have to change the following property in theme editor.
    Complex Elements -> Tables -> Selected Cells.
    a) Background Color of Primary Selection
    b) Background Color of Secondary Selection
        I hope this helps.
    Regards,
    Uday.

  • Color report rows based on a value in that row

    I would like to Color report rows based on a value in that row.
    For examplle with the "EMP" table:
    I would like job=MANAGER to be red and job=CLERK to be green etc etc
    The other example I found only had the option of one color either the highlight or the default color.
    I am looking for a way to do multiple colors.

    Hi,
    In the row template, you can use #1#, #2#, etc to indicate where a field in the report needs to be output. This does not have to be plain text - ie, you can use it within style tags if you like.
    So, take a query like:
    SELECT EMPNO,
    ENAME,
    DEPTNO,
    DECODE(DEPTNO, 10, 'green', 20, 'red', 30, 'cyan', 'white') BG_COLOUR
    FROM EMPYou get columns 1=empno, 2=ename, 3=deptno and 4=bg_colour. In the row template, you can then do:
    Before Rows setting (sets up the table):
    <table>
    <tr><td>ID</td><td>Name</td><td>Dept</td></tr>After Rows setting (closes the table):
    </table>Row Template 1 (used for ALL rows):
    <tr style="background-color:#4#;"><td>#1#</td><td>#2#</td><td>#3#</td></tr>Then, for every row, the colour that has been calculated using the DECODE function will be used in the style tag to colour the background for the entire row.
    How you determine the colours is up to you. I've used DECODE here, but you could use a field on the DEPT table to hold this and use this in your SQL statement.
    Andy

  • [AS, CS2 / CS3] Get Fill Color When Nothing is Selected (defaults? preferences?)

    Hi,
    where can I find the active color, which is active (border and fill color), when nothing is selected.
    E.g. I can get the active styles, when nothing is selected with:
    applied character style of text defaults
    and
    applied paragraph style of text defaults.
    Where nac I find the equivalent for fill and border color?
    Thanks
    Tobias

    Thanks, that was for CS3. Where can I get that in CS2?
    I searched the dictionary of document and application, but got no glue ...
    Thanks
    Tobias

  • How can I disable the change of color when changing background in ios7?

    how can I disable the change of color when changing background in ios7?

    For txt messages you can change the option of whether previews are shown (Settings >> Messages >> Show Preview Toggle). Switching this "Off" will still show a notification of a missed txt message, but it will not show text from the message itself.
    Unfortunately, similar functionality does not currently exist for phone calls; however, the new iOS release (scheduled for September, I think rumor has it) will revamp the way notifications are handled, and there maybe an elegant solution for you then.

  • Color a specific row in ALV GRID display when user clicks on that row

    hi
    i have the entire code ready of how to check the line selected by the user and also to color that line but after settings those parameters
    for to refresh the GRID so that the row apppears coloured .plz reply soon.... points will be awarded.....
    wat i have done is
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       i_callback_program                 = i_repid
       i_callback_user_command           = 'USER_COMMAND'
       is_layout                         = it_layout
       it_fieldcat                       = int_fieldcat
      TABLES
           t_outtab                          = int
      EXCEPTIONS
       program_error                     = 1
       OTHERS                            = 2.
    to display the GRID then when user clicks on any row this module gets called
       FORM user_command USING r_ucomm TYPE sy-ucomm
                               rs_selfield TYPE slis_selfield.
         READ TABLE int INDEX rs_selfield-tabindex.
         int-rowcolor = 'C410'.
         MODIFY  int INDEX rs_selfield-tabindex TRANSPORTING rowcolor.
         it_layout-info_fieldname = 'ROWCOLOR'.
    then  again i call 'REUSE_ALV_GRID_DISPLAY'
    to display the GRID with the user selected line colored . the problem with this is when u go back from this screen u go to the previously displayed grid ....... whihc i dont want .....
       ENDFORM.                    "user_command

    Hi,
    By using following code,you can set the colors for each row,
    Change this based on your requirement.
    TABLES VBAK.
    TYPE-POOLS SLIS.
    Data Declaration
    TYPES: BEGIN OF T_VBAK,
          VBELN TYPE VBAK-VBELN,
          ERDAT TYPE VBAK-ERDAT,
          ERNAM TYPE VBAK-ERNAM,
          AUDAT TYPE VBAK-AUDAT,
          VBTYP TYPE VBAK-VBTYP,
          NETWR TYPE VBAK-NETWR,
          VKORG TYPE VBAK-VKORG,
          VKGRP TYPE VBAK-VKGRP,
          LINE_COLOR(4) TYPE C,
          END OF T_VBAK.
    DATA: IT_VBAK TYPE STANDARD TABLE OF T_VBAK INITIAL SIZE 0,
          WA_VBAK TYPE T_VBAK.
    ALV Data Declaration
    DATA: FLDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          GD_LAYOUT TYPE SLIS_LAYOUT_ALV,
          GD_REPID TYPE SY-REPID.
    START-OF-SELECTION.
    PERFORM DATA_RETRIEVAL.
    PERFORM BLD_FLDCAT.
    PERFORM BLD_LAYOUT.
    PERFORM DISPLAY_ALV_REPORT.
    Build Field Catalog for ALV Report
    FORM BLD_FLDCAT.
    FLDCAT-FIELDNAME = 'VBELN'.
    FLDCAT-SELTEXT_M = 'Sales Document'.
    FLDCAT-COL_POS = 0.
    *FLDCAT-EMPHASIZE = 'C411'.
    FLDCAT-OUTPUTLEN = 20.
    FLDCAT-KEY = 'X'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'ERDAT'.
    FLDCAT-SELTEXT_L = 'Record Date created'.
    FLDCAT-COL_POS = 1.
    FLDCAT-KEY = 'X'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'ERNAM'.
    FLDCAT-SELTEXT_L = 'Cteated Object Person Name'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'AUDAT'.
    FLDCAT-SELTEXT_M = 'Document Date'.
    FLDCAT-COL_POS = 3.
    FLDCAT-EMPHASIZE = 'C110'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'VBTYP'.
    FLDCAT-SELTEXT_L = 'SD Document category'.
    FLDCAT-COL_POS = 4.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'NETWR'.
    FLDCAT-SELTEXT_L = 'Net Value of the SO in Document Currency'.
    FLDCAT-COL_POS = 5.
    FLDCAT-OUTPUTLEN = 60.
    FLDCAT-DO_SUM = 'X'.
    FLDCAT-DATATYPE = 'CURR'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'VKORG'.
    FLDCAT-SELTEXT_L = 'Sales Organization'.
    FLDCAT-COL_POS = 6.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'VKGRP'.
    FLDCAT-SELTEXT_M = 'Sales Group'.
    FLDCAT-COL_POS = 7.
    FLDCAT-EMPHASIZE = 'C801'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    ENDFORM.
    Build Layout for ALV Grid Report
    FORM BLD_LAYOUT.
    GD_LAYOUT-NO_INPUT = 'X'.
    GD_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
    GD_LAYOUT-INFO_FIELDNAME = 'LINE_COLOR'.
    GD_LAYOUT-WINDOW_TITLEBAR = 'GRID DISPLAY'.
    GD_LAYOUT-CONFIRMATION_PROMPT = 'X'.  “ This asks the confirmation before leaving the screen.
    ENDFORM.
    Display report using ALV grid
    FORM DISPLAY_ALV_REPORT.
    GD_REPID = SY-REPID.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = GD_REPID
       IS_LAYOUT                         = GD_LAYOUT
       I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
       I_GRID_TITLE                      = 'SALES DOCUMENT HEADER'
       IT_FIELDCAT                       = FLDCAT[]
       I_SAVE                            = 'X'
      TABLES
        T_OUTTAB                          = IT_VBAK
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.
    Retrieve data from VBAK table and populate itab IT_VBAK
    FORM DATA_RETRIEVAL.
    DATA LD_COLOR(1) TYPE C.
    SELECT VBELN ERDAT ERNAM AUDAT VBTYP NETWR VKORG
    UP TO 20 ROWS
    FROM VBAK
    INTO TABLE IT_VBAK.
    LOOP AT IT_VBAK INTO WA_VBAK.
    LD_COLOR = LD_COLOR + 1.
    IF LD_COLOR = 8.
      LD_COLOR = 1.
    ENDIF.
    CONCATENATE 'C' LD_COLOR '10' INTO WA_VBAK-LINE_COLOR.
    MODIFY IT_VBAK FROM WA_VBAK.
    ENDLOOP.
    ENDFORM.
    FORM TOP_OF_PAGE.
    DATA: T_HEADER TYPE SLIS_T_LISTHEADER,
          W_HEADER TYPE SLIS_LISTHEADER.
    W_HEADER-TYP = 'H'.
    W_HEADER-INFO = 'WELCOME HEADER LIST'.
    APPEND W_HEADER TO T_HEADER.
    W_HEADER-TYP = 'S'.
    W_HEADER-KEY = 'REPORT:'.
    W_HEADER-INFO = SY-REPID.
    APPEND W_HEADER TO T_HEADER.
    W_HEADER-TYP = 'S'.
    W_HEADER-KEY = 'DATE:'.
    CONCATENATE SY-DATUM6(2) ' / ' SY-DATUM4(2) ' / ' SY-DATUM(4) INTO W_HEADER-INFO.
    APPEND W_HEADER TO T_HEADER.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
      EXPORTING
        IT_LIST_COMMENTARY       = T_HEADER
    ENDFORM.
    Reward points,if it is useful.
    Thanks,
    chandu.

  • How do i change a color when doing color overlay?

    I finally figured how to apply the color overlay and the first picture I did my son was wearing a coral shirt so I made the pic a B/W photo and wanted his shirt to pop with the color it was.  So it actually worked but then I wanted to do another photo with the same idea but everything is this coral color I thought it new to make the shir that color since that is what it was.  I thought that when I go to use the brusg it would pull the color of that item instead everything is coral.  I didn't set it to that color and I can't figure out to change it.
    Please help me.  I paid a lot of money for this software and I haven't been able to do what I want.

    Agree with Kirby, as always.
    And I believe that the OP has changed the brushes to color overlay thinking that you need this change to erase the black and white.
    Simply apply the B/W adjustment, click on the gear in the B/W brick and choose "brush black and white away." You do not have to change the brush to color overlay. That is there just to help you see where you've applied brush strokes.
    Change from color overlay back to none.
    Let us know how that works for you.
    Also have a look at this section of the manual.

  • What is Cache refreshing in XI ? Why and when we will do that ?

    Hi Experts
        What is Cache refreshing in XI ? Why we need to do this ? when and all we
        need to do  that ?
        T.Code: sxi_cache   when we will use this ?
        I have no idea on this and any one give more details on this pl....
    Adv..thanx and points to all
    Kiran LVS

    Hi ,
    There are 2 types of caches.....
    CPA cache - is your Collaboration profile agreement cache, ie to mean it will contains the cache copy of all objects created during configuration time (ID).CPA (Collaboration profile agreement )Cache-mainly for J2EE engine/Adapter engine.
    About Cache Monitoring-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/92/2fd93f130f9115e10000000a155106/content.htm
    Runtime cache - it will contain cache copies of all the objects in XI (IR/ID)
    and active version of all your objects during runtime.
    Check this.......
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
    Sekhar

  • Change UI configuration dynamically when ever user selects a new value in a drop down field in WebUI

    I enhanced the standard activity component (i.e BT126S_APPT ). In this component, in BT126S_APPT/ApptSQ view there is a field 'PROCESS_TYPE' which is a dropdown. I have created a server event for this dropdown. So that whenever user selects a value in that dropdown, a event is called and after that DO_CONFIG_DETERMINATION is called. In DO_CONFIG_DETERMINATION, I am checking the value of 'PROCESS_TYPE' and based on that i am setting different config keys, by calling SET_CONFIG_KEYS( ). But the configuration is not changing in WebUI. When I press F2 in WebUI its showing the config keys( searched for ) as I set, but the found config keys are same as before. I have created the configuration with the new configuration keys. Please help, I am new to crm.

    Hello Shakthi,
    The easier option would be to convert the DropDownByKey to DropDownByIndex. If you still want to proceed with DropDownByKey then you need to initialise the ALV data again.  do the following
    1. after changing the attribute-value_set, call the ALV interface controller method SET_DATA and pass the instance of the context node.
    2. reintiliase all the ALV settings like edit mode, converting the column editor to DropDownByKey etc....
    This will ensure the new attribute value set is reflected in the ALV component.
    BR, Saravanan

  • JTable - Can I change the color of the text on a row by row basis?

    Hi All,
    I'm redoing a bit of old uni coursework (to model a stockmarket, stock ticker server & stock ticker application) to brush up my Java skills (esp Swing and Event Handling) and am programming the UI by hand using Swing (its the only way to learn something....(I've certianly nailed Layout Management!!))
    In the stocktickerserver GUI I'm using a JTable to display the details about stocks.
    The user can select a stock and view the details of the stock in another frame. In one panel in the JFrame I've got a JTable listing the history items for the stock (Price, Change, Date).
    Is it possible to color the rows of the JTable according to the value of the change column (or at least the value I insert there)?
    e.g
    if (change > 0){
    Blue;
    else{
    if (change < 0){
    Red;
    else{
    Green;
    I'm completly ignorant on how to achieve this (or even if its possible at all) so all your ideas welcome.
    Any help much appreciated
    Pete
    P.S.
    The Stock History is a class that I store in a [private] Vector in the Stock Class.
    For the selected Stock I loop through this vector getting the items (using various accessor methods)
    I extract the values from the return StockHistory object and build a DefaultTableModel from these
    Then I call JTable.setModel(theModel) to build the table

    implement TableCellRenderer and change foreground of the Renderer in the method getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) . Install this renderer to your table.

  • How do you change the color of a page item that is a static source

    I have a page item that does not have a label but the source of the item is always static. It will always show INCOMING in this source. INCOMING is hard coded under Source in the Source value or expression. The customer wants the word INCOMING to be bolded. I added the ccss code to bold the value but it matter where I put it the value will not be bolded.
    Thank you,
    Patti Spycher

    Put the following in the HTML Form Element Attributes of your
    style="font-weight:bold;color:darkblue;font-family:Courier"See this example:
    http://apex.oracle.com/pls/otn/f?p=31517:68
    by picking any of the employees from the select list and running "Search"
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Change in color when exporting to dvd. Please help

    I have some AVCHD footage that looks great when exported to quicktime. But when burning to DVD with iDVD all colors are "stronger", especially red. (Skincolor get way too much red).
    This appears both when playing back the DVD on the Mac or on a LCD screen. Have I done something wrong?

    Yes, you didn't properly monitor your footage. Sorry to be so blunt.
    If you want to know what your footage looks like on a TV, you need to monitor it on a TV. Your computer monitors will not get you the same colors. And since you are working with AVCHD footage that you will downconvert to a standard def DVD, you'll need something that can downconvert to SD.
    Cheapest option? Decklink Intensity Pro (www.decklink.com). This requires that you have a PCIe Intel Mac Pro or Quad G5. It can downconvert the HD to SD so you can connect it to your TV and see what you will really be getting. There are other Decklink options as well that are more expensive, as well as solutions from www.aja.com and the MXO from www.matrox.com.
    Shane

  • My iMessage is showing my email instead of my number and when I go in to change it and when I try selecting my number it won't let me only my email is a choice some please helpp

    Help my iMessage isn't working because my email is only showing as my thing to where people can contact me instead of my number. I'm new to the whole iphone team and I really need help. I tried the whole going into settings and selected my phone number but it won't let me and I need to verify my phone number as a place where people can reach me and I have no idea how so can anyone please help me?

    When registering an iPhone with iMessage and FaceTime, the phone number is registered automatically along with your Apple ID email address.
    Settings > Messages > Send &amp; Receive.
    What is available below the you can be reached by IMessage at and the start new conversations from sections?

  • How to get notified when ever I select any frame (any page item) ?

    I have added a observer class in my plugin which derives from ActiveSelectionObserver.
    But my observer constructor is not getting called when i select a page item. (In short, I am not getting notified about the selection)
    below is my code:
    class CSDTSelectionObserverImpl : public ActiveSelectionObserver
    public:
      CSDTSelectionObserverImpl(IPMUnknown *boss);
       virtual ~CSDTSelectionObserverImpl();
    protected:
       virtual void    HandleSelectionChanged (const ISelectionMessage*);
       virtual void HandleSelectionAttributeChanged(const ISelectionMessage* selectionMessage);
    CREATE_PMINTERFACE(CSDTSelectionObserverImpl, kCSDTSelectionObserverImpl)
    CSDTSelectionObserverImpl::CSDTSelectionObserverImpl(IPMUnknown *boss) : ActiveSelectionObserver(boss,IID_ICSDTSELECTIONOBSERVER) { }
    CSDTSelectionObserverImpl::~CSDTSelectionObserverImpl() { }
    void CSDTSelectionObserverImpl::HandleSelectionChanged(const ISelectionMessage* selectionMessage) { }
    void CSDTSelectionObserverImpl::HandleSelectionAttributeChanged(const ISelectionMessage* selectionMessage) {  
    if (selectionMessage && selectionMessage->WasSuiteAffected(IID_ILAYOUTSELECTION_ISUITE))
    Also, In my .fr file, I have added below:
    AddIn
      kDocBoss,
      kInvalidClass,
        IID_ICSDTSELECTIONOBSERVER, kCSDTSelectionObserverImpl,
    Do I need to implement the ILayoutSelectionSuite as well to get the notification on page item selection or implementing Observer via ActiveSelectionObserver is sufficient?
    Please help.

    I tried below in debug mode , but it gave me error while execution (when the line of code was called by in-design)
    InterfacePtr<ILayoutSelectionSuite> iLayoutSelectionSuite(fCurrentSelection, UseDefaultIID());
            if (iLayoutSelectionSuite == nil)
                break;
    iLayoutSelectionSuite->SelectPageItems(selection,Selection::kReplace,Selection::kDontScrollLayoutSelection); // Error
    So I was not able to get the UIDList of the selected page items, hence I used below code and this is working.
      InterfacePtr<const IIntegratorTarget> iIntegratorTarget(iLayoutSelectionSuite, UseDefaultIID());
            std::auto_ptr<IIntegratorTarget::TargetSuiteCollection> selectionSuites(iIntegratorTarget->GetTarget(ILayoutTarget::kDefaultIID));
            for(IIntegratorTarget::TargetSuiteCollection::size_type i = 0; i < selectionSuites->size(); i++)
                ILayoutTarget* target = (ILayoutTarget*)selectionSuites->at(i).get();
                if(!target)
                    continue;
                selection = target->GetUIDList(kDontStripStandoffs);
    But it would have been much easier and logical if I can get it using IlayoutSelectionSuite or if there is some better approach ?
    Please let me know.
    ileleLayoutSelectio
    Let me

  • Updating a table when a user selects a row (or triggers an action)

    Hi,
    i am designing a view on report builder 3, SQL Server 2008R2
    i have a shared dataset that holds customer details, and another shared dataset that holds the sales details.
    the report has a date from/to parameter and a category parameter.
    i have designed the report to have two tables one to show all customers (with their details) and the other should show the sales of the specific selected customer within the date range
    i have tried accomplishing this also by using a subreport with no luck, could you please let me know how i can this be done
    many thanks!!
    Ronen

    Hi Ronen,
    Per my understanding that you get the sales of the selected customer within the data range to display in the main report, right?
    You have mentioned that you have tried to use a subreport but failed, the issue can be caused by the wrong you have setting the subreport or the relationship between the main report and the subreport.
    As Uri Dimant suggested that we should add parameter in the subreport, details information below for your reference:
     I assumed that in the sales details table have the same fields or some relationship fields with that of the customer details table(Date, Category), so in the subreport create three parameter the same as that in the main reports and add the same filter.
    Right click the Subreport to select the subreport properties and add the parameter like below:
    Three parameter are comes from the subreport and the three fields in the value come form main report:
    Another method which is similar like that of using the subreport is to using the LookUp function, because your SSRS version is 2008 R2 and this function only supported with SSRS 2008 R2 and Later version. Details information below for your
    reference:
    Create an DataSet2 to get all the fields from Sale Details table.
    Find out the relationship field between the two table which is union (Date) to use in the expression in the main report like below:
    =Lookup(Fields!Date.Value,Fields!Date.Value,Fields!Sales.Value,"DataSetName of the SalesDetails"):
    Note: first field comes from Customer details table and second and third field comes from Sales details table.
    Detail information about using the LookUP function in below article:
    Lookup Function (Report Builder and SSRS)
    If you still have any problem, please provide the sample data of the two tables.
    Any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

Maybe you are looking for