PC Review


Reply
Thread Tools Rate Thread

Datagrid color

 
 
=?Utf-8?B?SXp6eQ==?=
Guest
Posts: n/a
 
      16th Feb 2004
Hi, Can anyone tell me how i change the background color of the datagrid cell when it is clicked. At the moment the cell color goes blue when selected. I do not what the user to be able to select any cell or row at all so i want the cell color to remain white. Does anyone know how to do this

Can anyone help me

ThankU
 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      16th Feb 2004
Hi,

http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q745q

Ken
-------------------
"Izzy" <(E-Mail Removed)> wrote in message
news:9AA5B2CB-025D-4A2A-8715-(E-Mail Removed)...
> Hi, Can anyone tell me how i change the background color of the datagrid

cell when it is clicked. At the moment the cell color goes blue when
selected. I do not what the user to be able to select any cell or row at all
so i want the cell color to remain white. Does anyone know how to do this?
>
> Can anyone help me?
>
> ThankU



 
Reply With Quote
 
=?Utf-8?B?SXp6eQ==?=
Guest
Posts: n/a
 
      16th Feb 2004
Hi Ken

This will set the backcolor for individual cells
What i want to do is to ensure that the cell color does not change when the user clicks anywhere in my datagrid. Is this possible
At the moment the cell chages to a grey colour when it is clicked on. I want to ensure this does not happen. I have tried to fiddle with the sample u have given me but am struggling big time as im new to this language :

Is there a property or something similar that i have to change to achieve this or is it only done through coding?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid and Row Color Tom Holmes Jr. Microsoft Dot NET Compact Framework 0 3rd Nov 2007 06:43 PM
Set row color of a datagrid when more than one datagrid on a form =?Utf-8?B?TWlrZSBCYXVnaA==?= Microsoft C# .NET 2 26th Sep 2006 03:26 PM
DataGrid BackGround Color and Update dataGrid msp Microsoft Dot NET Compact Framework 3 27th Apr 2005 07:33 PM
Color a Row in Datagrid Roman Microsoft Dot NET Compact Framework 2 14th Jan 2005 03:10 PM
different color in the datagrid james ou Microsoft Dot NET Framework Forms 1 18th Nov 2003 11:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:57 AM.