DataGrid with ComboBox

  • Thread starter Thread starter Mauricio Pires
  • Start date Start date
M

Mauricio Pires

Does anyone know how to show a combobox over a datadrig's
column when I click on a specific collumn?

Thanks.
 
Hi Mauricio,
You need create an derived DataGridColumnStyle to do this.
The following page has an example which shows an DataTimePicker when you
edit a certain datagrid cell.
http://msdn.microsoft.com/library/default.asp?url=?library/en-us/cpref/html/
frlrfsystemwindowsformsdatagridcolumnstyleclasstopic.asp
If you still have problems on this issue, please be free to let me know!
Thanks for using MSDN Newsgroup!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
You should not reply this mail directly, "Online" should be removed before
sending, Thanks!

--------------------
| From: (e-mail address removed) (Herfried K. Wagner [MVP])
| Newsgroups: microsoft.public.dotnet.framework.windowsforms
| Subject: Re: DataGrid with ComboBox
| Date: 15 Oct 2003 00:31:04 +0200
| Lines: 12
| Sender: Administrator@FAMILIE-IF1R60H
| Message-ID: <[email protected]>
| References: <[email protected]>
| NNTP-Posting-Host: v208-105.vps.tuwien.ac.at (128.131.208.105)
| Mime-Version: 1.0
| Content-Type: text/plain; charset=iso-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: news.uni-berlin.de 1066170830 24149903 128.131.208.105 (16
[208219])
| X-Face:
vJn^g[Lkg9YfJ,Oj#{Y[')WBo<1kS#Rc3Vb!D;jf$;OZ%<"'z+DX"K/m)h\Gi;e-AYsc%'CmL~Ix
@YEq$}A>^]KbF1.Z|=/'*CcB[f+8(m&vP.u4+P.q$n]?[s>nnFu/8EuC?h[c\#wR{ok_um~57to=
P=1"{qO1e%A2~nS?<[o`jn?C/-}7Mbz~L)WI=5VL!*xU#^d
| User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp (Windows))
Hamster/2.0.0.1
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!newsfee
d01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!v208-105.vps.tuwi
en.ac.AT!not-for-mail
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms:54439
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| * "Mauricio Pires" <[email protected]> scripsit:
| > Does anyone know how to show a combobox over a datadrig's
| > column when I click on a specific collumn?
|
| See:
|
| <http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q480q>
|
| --
| Herfried K. Wagner
| MVP · VB Classic, VB.NET
| <http://www.mvps.org/dotnet>
|
 
Hi Ying-Shen,

I believe Microsoft should publish more examples on custom data grid column
styles. From my own experience and from questions I frequently see in these
newsgroups, many people have troubles with that part of the DataGrid control
functionality as it appears to be insufficiently documented. I think a
Technical Article on these would be just fine in order not to incur overhead
on the .NET SDK reference focused mainly on basic tasks.
 
Hi Dmitriy,
Thanks for your suggestion, It's a good idea, I've forwarded it to our
documentation feedback group.
Also, it's better to send your feedback our Documentation FeedBack
directly, you may find the url link
"Send comments on this topic" on every page of MSDN.
Thanks!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
You should not reply this mail directly, "Online" should be removed before
sending, Thanks!

--------------------
| From: "Dmitriy Lapshin [C# / .NET MVP]" <[email protected]>
| References: <[email protected]>
<[email protected]>
<[email protected]>
| Subject: Re: DataGrid with ComboBox
| Date: Wed, 15 Oct 2003 13:57:28 +0300
| Lines: 33
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="koi8-r"
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.windowsforms
| NNTP-Posting-Host: nexus.validio.com.ua 193.41.50.2
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms:54474
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| Hi Ying-Shen,
|
| I believe Microsoft should publish more examples on custom data grid
column
| styles. From my own experience and from questions I frequently see in
these
| newsgroups, many people have troubles with that part of the DataGrid
control
| functionality as it appears to be insufficiently documented. I think a
| Technical Article on these would be just fine in order not to incur
overhead
| on the .NET SDK reference focused mainly on basic tasks.
|
| --
| Dmitriy Lapshin [C# / .NET MVP]
| X-Unity Test Studio
| http://x-unity.miik.com.ua/teststudio.aspx
| Bring the power of unit testing to VS .NET IDE
|
| | > Hi Mauricio,
| > You need create an derived DataGridColumnStyle to do this.
| > The following page has an example which shows an DataTimePicker when you
| > edit a certain datagrid cell.
| >
|
http://msdn.microsoft.com/library/default.asp?url=?library/en-us/cpref/html/
| > frlrfsystemwindowsformsdatagridcolumnstyleclasstopic.asp
| > If you still have problems on this issue, please be free to let me know!
| > Thanks for using MSDN Newsgroup!
| >
| > Best regards,
| >
| > Ying-Shen Yu [MSFT]
| > Microsoft Online Partner Support
| > Get Secure! - www.microsoft.com/security
|
|
 
There is also an article called "Tailor Your DataGrid Apps Using Table Style
and Custom Column Style Objects" at
http://msdn.microsoft.com/library/default.asp?url=/msdnmag/issues/03/08/DataGrids/toc.asp.

This article specifically discusses a ComboBox column.

--
Karl Erickson
Microsoft Corp.

This posting is provided "AS IS" with no warranties and confers no rights.


Ying-Shen Yu said:
Hi Dmitriy,
Thanks for your suggestion, It's a good idea, I've forwarded it to our
documentation feedback group.
Also, it's better to send your feedback our Documentation FeedBack
directly, you may find the url link
"Send comments on this topic" on every page of MSDN.
Thanks!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
You should not reply this mail directly, "Online" should be removed before
sending, Thanks!
| References: <[email protected]>
<[email protected]>
<[email protected]>
| Subject: Re: DataGrid with ComboBox
| Date: Wed, 15 Oct 2003 13:57:28 +0300
| Lines: 33
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="koi8-r"
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.windowsforms
| NNTP-Posting-Host: nexus.validio.com.ua 193.41.50.2
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms:54474
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| Hi Ying-Shen,
|
| I believe Microsoft should publish more examples on custom data grid
column
| styles. From my own experience and from questions I frequently see in
these
| newsgroups, many people have troubles with that part of the DataGrid
control
| functionality as it appears to be insufficiently documented. I think a
| Technical Article on these would be just fine in order not to incur
overhead
| on the .NET SDK reference focused mainly on basic tasks.
|
| --
| Dmitriy Lapshin [C# / .NET MVP]
| X-Unity Test Studio
| http://x-unity.miik.com.ua/teststudio.aspx
| Bring the power of unit testing to VS .NET IDE
|
| | > Hi Mauricio,
| > You need create an derived DataGridColumnStyle to do this.
| > The following page has an example which shows an DataTimePicker when you
| > edit a certain datagrid cell.
| >
|
http://msdn.microsoft.com/library/default.asp?url=?library/en-us/cpref/html/
| > frlrfsystemwindowsformsdatagridcolumnstyleclasstopic.asp
| > If you still have problems on this issue, please be free to let me know!
| > Thanks for using MSDN Newsgroup!
| >
| > Best regards,
| >
| > Ying-Shen Yu [MSFT]
| > Microsoft Online Partner Support
| > Get Secure! - www.microsoft.com/security
|
|
 
Back
Top