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

Using a custom control in cell renderer

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?

5 Replies

AD Administrator Syncfusion Team January 27, 2003 10:54 AM UTC

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


EB Erez Baum January 27, 2003 12:13 PM UTC

being able to use a custom cell type is critical for my use of the grid. When do you expect v2 to be available?


AD Administrator Syncfusion Team January 27, 2003 03:11 PM UTC

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


RK Raj Kumar March 13, 2003 01:15 PM UTC

Stefan, We are also evaluating your product and having to display custom control in the cell is our most important requirement. DO you have that sample ready yet? Thanks


AD Administrator Syncfusion Team March 13, 2003 06:26 PM UTC

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

Loader.
Up arrow icon