Gridpanel - conditional back color, how to ?

  1. #1

    Gridpanel - conditional back color, how to ?

    I was looking at the sample at https://examples1.ext.net/Examples/G...rking_Records/ trying to make the rows in my gridpanel have different background color according to the value in a hidden column.

    Any more data on the object sent to the getRowClass() function ?

    If i ask for record.id, I get the Id value of each row, now can i get values from the columns? I mean can I do record.TestCelland get the contents of that column for the row ?

    thanks!
  2. #2

    RE: Gridpanel - conditional back color, how to ?

    Hi,

    record.get('TestCell');
  3. #3

    RE: Gridpanel - conditional back color, how to ?

    Thanks!!! that worked.

    We need more documentation likewise. The samples are great but sometimes we - the users - lack some details to further implement Coolite... when is the user manual coming ?

    Great work anyway!!
  4. #4

    RE: Gridpanel - conditional back color, how to ?

    Hi,

    http://docs.ext.net/ - server side API
    http://www.extjs.com/docs/ - client side API

Similar Threads

  1. conditional Value in Column of gridpanel
    By Rupesh in forum 1.x Help
    Replies: 1
    Last Post: May 10, 2012, 11:47 AM
  2. Replies: 1
    Last Post: Apr 13, 2012, 2:50 PM
  3. [CLOSED] Change color of the back of a gridpanel row
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 25, 2011, 8:31 PM
  4. [CLOSED] How can we chnage Cell back color in the row expander
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 10, 2011, 11:08 PM
  5. Conditional RowExpander on GridPanel
    By deejayns in forum 1.x Help
    Replies: 0
    Last Post: Sep 29, 2010, 6:02 PM

Posting Permissions