Results 1 to 3 of 3

Thread: DataGrid - Conditional display based on Column value

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    276

    DataGrid - Conditional display based on Column value

    I am binding a Dataset to a DataGrid. Based on a boolean column value on the dataTable, the particular row on the DataGrid should be highlighted with a different color. How can I achieve this?

    Thanks,
    Jemima.
    "Your worst days are never so bad that you are beyond the reach of God's grace...
    and your best days are never so good that you are beyond the need of God's grace."

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I haven't worked your problem, but it is certainly do able. Maybe this code from my site will get you thinking about how to customize the grid:
    http://www.variantx.com/Main/Tutoria...oDataGrid.aspx

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    276
    thanks hellswraith for the reply.. i'll luk into this one ..

    Jemima.
    "Your worst days are never so bad that you are beyond the reach of God's grace...
    and your best days are never so good that you are beyond the need of God's grace."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width