1. #1
    Sencha Premium Member
    Join Date
    Apr 2013
    Posts
    7
    Vote Rating
    0
    florin_p is on a distinguished road

      0  

    Default Answered: How can I change the css style of a column in Live Grid depending of column values ?

    Answered: How can I change the css style of a column in Live Grid depending of column values ?


    Hello,

    I have an LiveGrid with some columns. I need to change the style to all cells in a column depending of the values in the cells.

    I can change the css style to be identical to all cell in the column like this
    Code:
    actionColumn.setColumnTextClassName(resource.css().colStyle());
    );

    I need to change the style according to the value inside.

    How can I do that ?

    Thank you.

  2. What I think you want to do is in the guide and basic grid example.

    Guide showing how to render custom cells.
    http://docs.sencha.com/gxt-guides/3/...ustomCell.html

    This basic grid changes the cell style depending on the source. Check out the source and find setCell.
    http://www.sencha.com/examples/#ExamplePlace:basicgrid

    Brandon
    http://docs.sencha.com/gxt-guides/3/ - guides

  3. #2
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    377
    Answers
    6
    Vote Rating
    15
    branflake2267 will become famous soon enough

      0  

    Default


    What I think you want to do is in the guide and basic grid example.

    Guide showing how to render custom cells.
    http://docs.sencha.com/gxt-guides/3/...ustomCell.html

    This basic grid changes the cell style depending on the source. Check out the source and find setCell.
    http://www.sencha.com/examples/#ExamplePlace:basicgrid

    Brandon
    http://docs.sencha.com/gxt-guides/3/ - guides

  4. #3
    Sencha Premium Member
    Join Date
    Apr 2013
    Posts
    7
    Vote Rating
    0
    florin_p is on a distinguished road

      0  

    Default


    Thank you for the answer.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi