Datagrid customization

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to be able to build a datagrid that has two buttons in each cell similar to the functionality provided by the winforms numericupdown control. I have an app that will require the user to increment or decrement the value in the cell when clicked. Is this possible? And if so can someone provide a small example or a pointer on where to get some sample code?

Thanks in advance
Pat Laferriere
 
Hi Pat,

Winform DataGrid provides 2 basic column styles, so we can customize the
datagrid by overriding a column style. The link provided by Eric should
help.

Best regards,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
Thread-Topic: Datagrid customization
thread-index: AcPkMi0lhQzxCGkETKeYnrr7DQk+sg==
X-Tomcat-NG: microsoft.public.dotnet.general
From: =?Utf-8?B?UGF0TGFm?= <[email protected]>
Subject: Datagrid customization
Date: Mon, 26 Jan 2004 09:31:05 -0800
Lines: 5
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa07.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.general:122634
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.general

I would like to be able to build a datagrid that has two buttons in each
cell similar to the functionality provided by the winforms numericupdown
control. I have an app that will require the user to increment or decrement
the value in the cell when clicked. Is this possible? And if so can someone
provide a small example or a pointer on where to get some sample code?


Thanks in advance,
Pat Laferriere
 
Back
Top