in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.
All Tags » colors (RSS)

Browse by Tags

  • Conditional row coloring

    Hi, Is there a way to color the rows based on certain values in some of the columns. I am in the process of developing a grid in which we need to traffic light the rows based on values in certain key columns. I am not using autogeneratd columns and am binding the grid from a data table. I am afraid that...
    Posted to WebGrid for ASP.NET (Forum) by saketh on 02-27-2008
    Filed under: colors, Rows, conditional
  • Re: Different text colors

    To use different text colors just assign the html to the text of the cell. C1WebGrid1.Items(0).Cells(0).Text = " <font color=red>" & C1WebGrid1.Items(0).Cells(0).Text & "</font>" Or you can use the ItemDatabound event to color code values conditionally setting...
    Posted to WebGrid for ASP.NET (Forum) by C1_GregL on 01-07-2008
    Filed under: C1Webgrid, colors
Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.