Using a custom control in cell renderer

Thread ID:

Created:

Updated:

Platform:

Replies:

In the Java JTable, it was possible to custom create a panel and then use the CellRenderer to display it in the grid. In all the examples provided with the Essential Grid, rather than use a (custom or user) control, the OnDraw method is overloaded and uses the Graphics library to draw the component to the screen. Do you have an example where the control is used instead?

Can you open a direct-trac incident with us and we'll get back to you once we have a sample ready. Probably later this week.
We will provide built-in support for this with the 2.0 version of Essential Grid but it is work in progress.
Stefan

Hi Erez,
I don't want to give out concrete dates now, but you can implement custom cell types already easily by subclassing GridCellRendererBase. There are various samples that ship with Essential Grid that show you how to create your own cell types.
The mentioned support for embedding Windows Forms Controls in a cell type is just to make it easy to display a Windows Forms control as it is inside a cell without much extra work required on your side.
If this what you need I can provide you with a separate sample earlier as soon as we have such solution ready.
I will post a note here when I have such a sample ready.
Stefan

Hi,
We have some cell control samples (MaskEdit, FormInCell and CurrencyEdit) that you can get by submitting a Direct Trac support incident and requesting them. We prefer to handle them through Direct Trac so we can easily follow up on any particular questions or problems that you might have pertaining to them.
Clay