[CLOSED] GridPanel.Rows.Changing Background Color of Rows

  1. #1

    [CLOSED] GridPanel.Rows.Changing Background Color of Rows


    I want change the background color of row in my gridPanel...
    But I wish diferent colors depending on the content of first column of row.

    If first column contains values between 7:00AM and 12:00AM, I wish that the background color is blue.
    01:00PM to 08:00PM, red
    09:00PM and 12:00PM green

    It´s possible?

    Thanks for any help!
    Last edited by Daniil; Mar 01, 2012 at 6:57 PM. Reason: [CLOSED]
  2. #2

    It's possible, please use the GridView GetRowClass.

    Here is some example:

    Try to edit some cell - it will become yellow.
  3. #3
    Hi Daniil!!!

    Thanks a lot for your help!

    This example https://examples2.ext.net/#/GridPane...rking_Records/ it´s exactly what I need!

    Thanks again.

Similar Threads

  1. Replies: 7
    Last Post: Jul 11, 2012, 2:12 PM
  2. [CLOSED] Changing the background color of htmleditor
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 18, 2012, 6:41 PM
  3. Changing TreePanel background color
    By wexman in forum 1.x Help
    Replies: 3
    Last Post: Apr 06, 2011, 3:35 PM
  4. [CLOSED] Changing background color of TabPanel on the fly
    By rmelancon in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 07, 2010, 1:23 PM
  5. Replies: 4
    Last Post: Jan 30, 2009, 3:05 AM

Posting Permissions