473,322 Members | 1,401 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,322 software developers and data experts.

Datagrid customization

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
2 2019
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Lina | last post by:
Hi, Can anyone tell me if it is possible to add link buttons to a datagrid that has its source set to a datatable that i have created? i.e i want the user to be able to select a room from...
0
by: Bob Rosen | last post by:
The description given in "Customizing Items Dynamically in the DataList or DataGrid Web Server Control" (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vbCode/...
5
by: Alvin Bruney | last post by:
I have a server side datagrid control. I'd like to clear the grid before the post occurs using javascript. Anybody know how to do this? It would be a similar effect to binding to a null dataset in...
2
by: Simone | last post by:
Hi, i have an application created with Vb.Net 2002 and .Net Framework 1.1; in a Main Form I have a Datagrid populated with a Datawiew. When i populate a Datagrid i receive a Big red X into...
5
by: Dennis | last post by:
I have a class that inherits from DataGrid. I can set the rowheights in a DataGrid by tappig into the "get_Datagridrows" method. However, this does not work for classes that inherit from...
9
by: Rekha | last post by:
The data is filled in datagrid. I want to know how to add a checkbox column in datagrid? In the runtime, checkbox is checked then instead of checkbox value the (caseID )column value is retained....
2
by: PatLaf | last post by:
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...
1
by: robert d via AccessMonster.com | last post by:
I'm a fledgling developer and am just starting to get my app out to specific clients. I have been asked to bid on a project because my app already does over 90% of what the client wants. My...
2
by: MRW | last post by:
Hello! I'm working on a DataGrid and I've run into two problems. 1) When there are no records, I want the datagrid to show up still, (since I have a header and footer), so I simply want a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.