473,698 Members | 2,432 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2060
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: AcPkMi0lhQzxCGk ETKeYnrr7DQk+sg ==
X-Tomcat-NG: microsoft.publi c.dotnet.genera l
From: =?Utf-8?B?UGF0TGFm?= <pl*********@tr ansitions.com>
Subject: Datagrid customization
Date: Mon, 26 Jan 2004 09:31:05 -0800
Lines: 5
Message-ID: <B2************ *************** *******@microso ft.com>
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.publi c.dotnet.genera l
Path: cpmsftngxa07.ph x.gbl
Xref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.genera l:122634
NNTP-Posting-Host: tk2msftcmty1.ph x.gbl 10.40.1.180
X-Tomcat-NG: microsoft.publi c.dotnet.genera l

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
1738
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 various comboboxes and textboxes on my form. when they are satisfied they press OK. the row is then displayed in my datagrid. I now automaticcaly want 2 link buttons to appear next to the row that allows the user to delete the row or edit it.
0
1563
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/ html/vbtskCodeCustomizingItemsDynamicallyInDataListWebControlVisualBasic.asp ) says "The examples use the DataList control, but apply to the DataGrid control as well". From what I've experienced, however, that claim isn't quite valid, at least in the case (the...
5
1644
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 the codebehind, sorta. -- Regards, Alvin Bruney Got tidbits? Get it here... http://tinyurl.com/3he3b
2
2105
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 Datagrid. Help Me please!!! Excuse me for my incorrect English but i am an Italian Boy and i'm not very Expert.
5
4738
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 DataGrid. Anyone know how to do this on derived classes? I find it apalling that Microsoft provided a DataGrid that is so inflexible! -- Dennis in Houston
9
1591
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. I know there is a lot of article on datagrid with checkbox but nothing helped me . Can anyone help me how to proceed ? Thanks
2
291
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 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
1
1338
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 question is with regards to pricing of the proposal. It seems like I should include a license fee for my app as it currently is in the pricing section of the proposal. If I don't do this, then they might claim that they paid for everything as...
2
1008
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 message to show up where the information would show up if it were there. 2) I'm also looking to customize one of the fields. Lets say if FieldA is below zero, then the font color should be red instead of black. Is
0
8678
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9166
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4621
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2333
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.