Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron User Interface for .NET
»
NDataGridView - Change Row color
NDataGridView - Change Row color
Post Reply
NDataGridView - Change Row color
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Nevron Support
Nevron Support
posted 15 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Norman,
Try to set nDataGridView.EnableCellCustomDraw to false.
Best Regards,
Nevron Support Team
Reply
Like
0
Norman Heinrich
Norman Heinrich
posted 15 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 2,
Visits: 1
Hi,
I am using NDataGridView as an editor. Now it is necessary to change the back color from different rows.
In an example I tried :
Dim st As New DataGridViewCellStyle
st.BackColor = Color.CadetBlue
NDataGridView1.SelectedRows(0).Cells(0).Style.ApplyStyle(st)
but only the editing back color was set. If I am not in editing mode the row/cell is white :-/
Any hints?
Kind regards
Norman
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search