How to simplify the Syncfusion cell model

I would like to simplify the usage the Syncfusion cell model to be similar to that used by DataGridView.

I have a derived cell type called CustomCell that works fine. I based it on one of the supplied examples. Per the Syncfusion approach is it consists of:

CustomCellRenderer which of course is the renderer
CustomCellStyleProperties is contains the cell model

To use my CustomCell I have to acess it thusly:

Dim ThisCell as CustomCellStyleProperties = New CustomCellStyleProperties(mygrid(row,Col)

ThisCell.CustomCellProperties.CustomProperty = Value

DataGridView conversely uses type conversion so to access a CustomCell type I do:

Dim ThisCell as CustomCell = CType(mygrid(Row,Col), CustomCell)
ThisCell.CustomProperty = Value

I want the Syncfusion grid to drop in and avoid changing a lot of existing code. How would I create a CustomCell class that would work the way I want to? I don''t think it would be that difficult but I am relatively new to OOP.





1 Reply

SR SubhaSheela R Syncfusion Team September 2, 2008 05:19 AM UTC


Hi Tim,

Thanks for your interest in Syncfusion products.

You can shipped browser sample that discusses about the custom cell types.

Here is the path:


\\MyDocuments\Syncfusion\EssentialStudio\6.3.0.25\Windows\Grid.Windows\Samples\2.0\CustomCellTypes\CalendarCells\VB

If this is not ur need, please update me with some more information.

Kindly let me know if you have any queries.

Regards,
Subhasheela R


Loader.
Up arrow icon