F
fripper
After a good bit of urging from folks in this newsgroup I have begun to
become familiar with the VB .Net DataGrid control as a replacement for one
my favorite VB6 controls ... the FlexGrid. In any event, I have a DataGrid,
added a GridTableStyle, bound a DataTable to it and everything displays
pretty well. Now, sometimes when the user clicks on a cell I would like to
be able to determine the row/column number and set the foreground and
background color of that cell to particular values ... other times I want to
set the row that was clicked to a new color ... and sometimes I want to
change the column color. Can someone point to an information source that
tells me how to do this? So far I have not seen any way to set the color
(or font) properties of a particular cell or column or row.
Thanks.
become familiar with the VB .Net DataGrid control as a replacement for one
my favorite VB6 controls ... the FlexGrid. In any event, I have a DataGrid,
added a GridTableStyle, bound a DataTable to it and everything displays
pretty well. Now, sometimes when the user clicks on a cell I would like to
be able to determine the row/column number and set the foreground and
background color of that cell to particular values ... other times I want to
set the row that was clicked to a new color ... and sometimes I want to
change the column color. Can someone point to an information source that
tells me how to do this? So far I have not seen any way to set the color
(or font) properties of a particular cell or column or row.
Thanks.