Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

datagrid format

Status
Not open for further replies.

luisve

Programmer
Jun 24, 2005
29
US
hi i am trying to change the color of a row on a datagrid if the column id=1 and also i would like to change the color of a row when is double click, thanks for the help
 
The only way I know of doinh this is to subclass the DataGridTextBoxColumn, and override its Paint Event.
A sample of how to do this can be found at



Sweep
...if it works dont f*** with it
...if its f****ed blame someone else
...if its your fault that its f***ed, say and admit nothing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top