Rendering column differently

  1. #1

    Rendering column differently

    Hi!

    I need to give the user the oportunity to highlight a column's data, within a gridpanel.
    Meaning, the user will have a combo from where to choose a column, and a color or font, and after that, in the C# code behind i recreate the grid with the different renderer set on the chosen column. 'till here all possible. What i don't know is if i can set the style using renderer's format property, and also if i can do this only if the data in the column is smaller or bigger than a certain value.

    Thanks!
  2. #2
    Hi,

    Please see
    http://forums.ext.net/showthread.php?12842
    http://forums.ext.net/showthread.php?11213
    http://forums.ext.net/showthread.php?11398

    Also investigate ExtJS docs article about the 'renderer' property of Ext.grid.Column.

Similar Threads

  1. Replies: 1
    Last Post: Apr 09, 2012, 10:46 AM
  2. Replies: 0
    Last Post: Sep 13, 2011, 3:25 PM
  3. Replies: 1
    Last Post: Oct 16, 2010, 6:53 PM
  4. [CLOSED] Gridpanel second Column data Rendering a Jiberish
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Apr 01, 2010, 5:35 PM
  5. Replies: 3
    Last Post: May 09, 2009, 12:15 PM

Tags for this Thread

Posting Permissions