TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
malik.aamir
NA
5
0
DataGrid repaint problem
Sep 22 2004 10:33 AM
Hi Guys, I am trying to change a value in a particular cell with different color. For this I tried an example from MSDN in which the author implements a calss that inherits from DataGridTextBoxColumn with only one method PaintCol(g, cellRect, cm, hi.Row, bBrush, fBrush, false); that in turn calls the base class paint method with my desired text and backGround color. The function call prints the text with the specified color but soon after because of the implicit call to the paint method the cell repaint with the default color. Could anybody know how to do so.
Reply
Answers (
5
)
Setting background color of datagrid
Reading data from excel and determine how many rows