Help with DataGrids

  • Thread starter Thread starter Steve Leckman
  • Start date Start date
S

Steve Leckman

I have a DataGrid which is bound to a DataSet. Is there any way to
take a single cell and change it's font? Or if this isn't possible,
could you place a .bmp into the cell?

Thanks!
Steve
 
Take a look at the (free) ExtendedDataGrid control:
http://dotnet.leadit.be/extendeddatagrid

If you want to code it manually:
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q745q
Method 2
To use some method to provide the cell color, you can use a similar
technique as discussed above. But instead of setting the color based on cell
value, call a delegate method instead. This delegate can be passed in using
the constructor for the custom column style. You can download a sample that
shows how this can be done.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
 
Back
Top