We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Databound grid custom cell type

Thread ID:





16530 Jul 19,2004 07:19 AM UTC Jul 19,2004 08:40 AM UTC WinForms 1
Tags: GridControl
Christian Morand
Asked On July 19, 2004 07:19 AM UTC

Hello, I would like to use a special datepicker (class MyDateEditor), and maybee an other type of combobox, in databoundgrid. I have read and tryed a few things about custom control in datagrid but I could not figure out a solution for a databoundgrid (I would like to see the down arrow only when the cell is active). Could you please describe how to do that and provide me with a sample in VB? Thanks for your help. Chris

Administrator [Syncfusion]
Replied On July 19, 2004 08:40 AM UTC

Here is a KB article on using a derived DateTimePicker control in a grid cell. http://www.syncfusion.com/Support/article.aspx?id=10435 In the user''s guide, there is also a section on deriving your custom cell types. It discusses the two classes that go into a custom cell type, the CellModel class and the CellRenderer, and refers to the Grid\Samples\In Depth\DerivedCellControlTutorial that we ship in the samples. Here is a list of VB samples that we ship with custom cell types in them. Grid\Samples\CellTypes\CalendarCells\VB\MainForm.vb(57) Grid\Samples\CellTypes\LinkLabelCells\VB\MainForm.vb(53) Grid\Samples\CellTypes\PictureBoxCells\VB\MainForm.vb(62) Grid\Samples\CellTypes\RadioButtonCells\VB\MainForm.vb(59) Grid\Samples\CellTypes\SliderCells\VB\MainForm.vb(57) Grid\Samples\CellTypes\XhtmlCells\VB\MainForm.vb(55) Grid\Samples\DataBound\GDBGwithDropGrids\VB\GridHierDataBoundGrid.vb(31) Grid\Samples\DataBound\GridDataBoundImageCell\VB\Form1.vb(210) Grid\Samples\DataBound\RepeaterUserControlSample\VB\GridRepeaterControl.vb(95) Grid\Samples\In Depth\CellButtons\VB\Form1.vb(34) Grid\Samples\In Depth\CellButtons\VB\Form1.vb(43) Grid\Samples\In Depth\DerivedCellControlTutorial\VB\Form1.vb(28) Grid\Samples\In Depth\DropDownFormAndUserControlSample\VB\Form1.vb(102) Grid\Samples\In Depth\DropDownFormAndUserControlSample\VB\Form1.vb(115) Grid\Samples\In Depth\DropdownGrid\VB\Form1.vb(82) Grid\Samples\In Depth\DropdownGrid\VB\Form1.vb(83) Grid\Samples\In Depth\ExcelSelectionMarker\VB\ExcelMarkerForm.vb(144) Grid\Samples\In Depth\GridInCells\VB\Form1.vb(104) Grid\Samples\In Depth\VirtTreeGrid\VB\TreeGridForm.vb(184) Grid\Samples\Quick Start\VirtualMergeCell\VB\CustomGridControl.vb(232)


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon