[CLOSED] CSS property for grid cell

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] CSS property for grid cell

    Hi,

    I have a css class:
    .color1 {
              background : #CCFFFF;
            }
    Which Cls property I should use for cell background in 2.0? It tried CellCls, Cls etc.

    Here is the code I have in 1.3.

    <ext:Column runat="server" Header="Name" Width="40" DataIndex="name" Css="background-color: #CCFFFF;"/>
    Thanks.
    Last edited by Daniil; Apr 16, 2012 at 12:09 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please use the TdCls property.

    Example
    <style type="text/css">
        .column-1 div {
            background-color: red;
        }
    </style>
    <ext:Column 
        runat="server" 
        Text="Test" 
        DataIndex="test" 
        TdCls="column-1" />

Similar Threads

  1. Replies: 0
    Last Post: May 12, 2012, 11:24 AM
  2. [CLOSED] Set cell value in grid from handler
    By naren in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 03, 2010, 6:19 PM
  3. [CLOSED] Change the value of a grid cell
    By tms in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 15, 2010, 7:43 AM
  4. Change grid cell value
    By gpcontreras in forum 1.x Help
    Replies: 1
    Last Post: Feb 02, 2010, 5:24 PM
  5. cell value of grid Panel
    By vinu.gupta03 in forum 1.x Help
    Replies: 1
    Last Post: Mar 04, 2009, 1:13 AM

Posting Permissions