The official release of Ext.NET Mobile is now available. Ext.NET Mobile is an ASP.NET component framework for building Phone and Tablet specific mobile web applications. Read More

Gridview column style

  1. #1

    Gridview column style

    For my grid I want set css class for some columns to have it with custom background color and font size.
    I did it with ColumnID Property and by js code for parsing grid metadata and columns collection - not the best way but unfortunatly I don't see any another to set css class or styles for grid column.
    Maybe someone have better idea how it can be done ?

  2. #2
    My Version of Ext.Net is 1.0.4093.32349

    According to this doc
    I set appropriate property Css to testCssClass of Column item in ColumnModel
    <ext:Column Width="200" Css="testCssClass" Hideable="False" MenuDisabled="True"/>
    But as result at client i got this one cells for my column
    <td tabindex="0" style="testCssClasswidth: 160px;" class="x-grid3-col x-grid3-cell x-grid3-td-0 x-grid3-cell-first ">
      <div unselectable="on" class="x-grid3-cell-inner x-grid3-col-0">01 GROCERY</div>

Similar Threads

  1. Replies: 0
    Last Post: Feb 28, 2011, 2:39 PM
  2. [CLOSED] Column header text style
    By Stefanaccio in forum 1.x Premium Help
    Replies: 1
    Last Post: Feb 03, 2011, 11:03 AM
  3. [CLOSED] GridView style problem
    By speedstepmem3 in forum 1.x Premium Help
    Replies: 3
    Last Post: Aug 26, 2009, 8:06 AM
  4. GridView style affected by scriptmanager?
    By tongyang in forum 1.x Help
    Replies: 5
    Last Post: Jul 09, 2009, 3:56 PM
  5. Get Gridview Column value using c#
    By speedstepmem3 in forum 1.x Help
    Replies: 1
    Last Post: Nov 13, 2008, 9:25 AM

Tags for this Thread

Posting Permissions