473,387 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Datagrid SelectionBackColor Problem.

I am using a datagrid with a tablestyle added. I set the SelectionBackColor
in the GUI for the datagrid to white and also in code in the tablestyle
definitions. I even tried setting it in code later, but nothing seems to get
it to change from the default. What am I doing wrong?
Nov 21 '05 #1
2 1297
Shawn wrote:
I am using a datagrid with a tablestyle added. I set the SelectionBackColor
in the GUI for the datagrid to white and also in code in the tablestyle
definitions. I even tried setting it in code later, but nothing seems to get
it to change from the default. What am I doing wrong?

I can't guarantee it will solve your problem, but this resource has
helped me most of the times I come over datagrid problems..

http://www.syncfusion.com/FAQ/Window...efault.aspx#44

__
Tor Inge
Nov 21 '05 #2
Nope, nothing there... Any more ideas?

"Tor Inge Schulstad" <to****************@gmail.com> wrote in message
news:19********************@telenor.com...
Shawn wrote:
I am using a datagrid with a tablestyle added. I set the
SelectionBackColor in the GUI for the datagrid to white and also in code
in the tablestyle definitions. I even tried setting it in code later, but
nothing seems to get it to change from the default. What am I doing
wrong?

I can't guarantee it will solve your problem, but this resource has helped
me most of the times I come over datagrid problems..

http://www.syncfusion.com/FAQ/Window...efault.aspx#44

__
Tor Inge

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: PeterZ | last post by:
G'day, After doing much searching and pinching bits of ideas from here there and everywhere I came up with a fairly 'clean' solution of including a comboBox into a dataGrid column. You can...
3
by: Richard | last post by:
I have a requirement to put a GDI style circle or rectangle border around the selected row of a datagrid/ It will overlap into the row above and below the selected row. Doing this in a the OnPaint...
2
by: Meir Rotfleisch | last post by:
Hi I am trying to use the SelectionBackColor method of the datagrid however it doesn't work. Is there a method of rendering that needs to be invoked? The following is the code snippet ...
1
by: Marco Di Gregorio | last post by:
Hello I need somebody’s help with the following I tried to display data to a DataGrid, that is not the problem But if I try to add a TableStyle to a DataGrid then I don’t get a result ( no...
7
by: Dave | last post by:
Are there any add-on products or samples available that can do the following in an vb.net datagrid I want to compare 2 rows in a datagrid - one row from one database and another row for another...
6
by: Agnes | last post by:
I understand it is impossible, but still curious to know "Can I freeze several column in the datagrid, the user can only scroll the first 3 columns (not verical), for the rest of the coulumn, it is...
13
by: pmcguire | last post by:
I have a DataGrid control for which I have also created several new extended DataGridColumnStyles. They behave pretty nicely, but I can't figure out how to implement Selected Item formatting for...
4
by: Paul Ilacqua | last post by:
I'm filling the datagrid with no problem but I do not see a columnwidth property anywhere. How do you set the columnwidth property of the datagrid columns in code or manually? Thank you. Paul
0
by: sandeepacharya | last post by:
I am using datagrid of 5 columns and 5 rows. Peticular cells in the datagrid are set to some color. I am using following code for this: dataGridView1.Style.BackColor = Color.Yellow;...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.