Home All Groups Group Topic Archive Search About

Datagridview columns: can they be extended?

Author
17 Sep 2006 11:09 AM
arch
The datagridview comes with a small list of built-in column types that can
be chosen from, eg DataGridViewTextBoxColumn, DataGridViewLinkColumn,
DataGridViewImageColumn etc.  But what I really needed was to create an
input mask for a date field in one of my columns.  Is there any way to
modify/extend the datagridview to allow me to use an input mask control for
one of my columns?

Author
18 Sep 2006 12:01 AM
Ken Tucker [MVP]
Hi,

          Yes they can.


Masked edit column
http://www.vb-tips.com/default.aspx?ID=43d85ac7-1715-47fd-9e1f-dd17b41ace9a

Datagridview FAQ and white papers
http://www.windowsforms.net/WhidbeyFeatures/default.aspx?PageID=2&ItemID=13&Cat=Controls&tabindex=5

Ken
---------------------


Show quoteHide quote
"arch" <tony_oo***@yahoo.com> wrote in message
news:1158490323.214640@angel.amnet.net.au...
> The datagridview comes with a small list of built-in column types that can
> be chosen from, eg DataGridViewTextBoxColumn, DataGridViewLinkColumn,
> DataGridViewImageColumn etc.  But what I really needed was to create an
> input mask for a date field in one of my columns.  Is there any way to
> modify/extend the datagridview to allow me to use an input mask control
> for one of my columns?
>
Author
18 Sep 2006 3:32 AM
arch
Thanks, that's exactly what I needed.  Those are some great sites.

Show quoteHide quote
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:e%23TUDYr2GHA.4588@TK2MSFTNGP04.phx.gbl...
> Hi,
>
>          Yes they can.
>
>
> Masked edit column
> http://www.vb-tips.com/default.aspx?ID=43d85ac7-1715-47fd-9e1f-dd17b41ace9a
>
> Datagridview FAQ and white papers
> http://www.windowsforms.net/WhidbeyFeatures/default.aspx?PageID=2&ItemID=13&Cat=Controls&tabindex=5
>
> Ken
> ---------------------
>
>
> "arch" <tony_oo***@yahoo.com> wrote in message
> news:1158490323.214640@angel.amnet.net.au...
>> The datagridview comes with a small list of built-in column types that
>> can be chosen from, eg DataGridViewTextBoxColumn, DataGridViewLinkColumn,
>> DataGridViewImageColumn etc.  But what I really needed was to create an
>> input mask for a date field in one of my columns.  Is there any way to
>> modify/extend the datagridview to allow me to use an input mask control
>> for one of my columns?
>>
>
>