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. Image for the cookie policy date

Databound grid custom cell type

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

1 Reply

AD Administrator Syncfusion Team 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)

Loader.
Up arrow icon