WebGrid Community Server

Welcome to WebGrid Community Server Sign in | Join | Help
in Search

Having a specific color assigned to a cell

Last post 07-23-2008, 20:07 by admin. 1 replies.
Sort Posts: Previous Next
  •  07-23-2008, 19:55 670

    Having a specific color assigned to a cell

    Hi,

    Is there some example about dynamically modifying the nbackground color of a cell?

    I haven't found anything. What I need is to change the background of a cell according to the number stored in a data table.
  •  07-23-2008, 20:07 671 in reply to 670

    Re: Having a specific color assigned to a cell

    Please look at WebGrid starter kit, and sample1.aspx this shows how to set style sheet for an specific cell. You should use 'cssClass' property to achieve what you want to-do

    Olav Botterli, WebGrid Founding Developer
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems