By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 890 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

Datagrid customization

P: n/a
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
Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Look no further than suncfusion FAQ:
http://www.syncfusion.com/faq/winforms/

The DataGrid samples show how to implement a ComboBox column, but you could
put an up down control in just as easily.

HTH;
Eric Cadwell
http://www.origincontrols.com
Jul 21 '05 #2

P: n/a
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?= <pl*********@transitions.com>
Subject: Datagrid customization
Date: Mon, 26 Jan 2004 09:31:05 -0800
Lines: 5
Message-ID: <B2**********************************@microsoft.co m>
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


Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.