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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Essential Grid

Thread ID:





67179 Aug 9,2007 06:11 PM UTC Sep 4,2007 04:03 PM UTC WinForms 3
Tags: GridControl
Sudharsini Ravikumar
Asked On August 9, 2007 06:11 PM UTC


I'm evaluating the essential grid to use in a new project. My requirement is to be able to display Rich Text, Image, and grid in the grid. Each cell could be of any of the above mentioned type. The requirement also includes that the cell heights resize to fit the contents. How can this be done ? Thanks for any input.


haneefm [Syncfusion]
Replied On August 9, 2007 08:43 PM UTC

Hi Sudha,

For RichText Cell:
The RichText Cells browser sample illustrates how you can display and edit RichText in grid cells. This control will allow you to optionally dropdown an editable RichText window where you can modify the RichText in the cell.


For Image Cell:
The PictureBox Browser sample will show you how to use a Windows Forms PictureBox control in grid cells.


For Grid Cell:
The GridInGrid browser sample shows you how to place a grid inside a cell within a grid. This sample has 3 different grids with covered cells of a larger grid.


Resize the cell content :

To auto size a particular range of cells, you can use code like:

this.grid.Model.RowHeights.ResizeToFit(GridRangeInfo.Table()); //For Rowheight
this.grid.Model.ColWidths.ResizeToFit(GridRangeInfo.Table()); //For RowWidth

Best regards,

Sudharsini Ravikumar
Replied On August 10, 2007 06:13 PM UTC

Thanks Haneef. I was able to work with embedded Rich Text and Picture box by using the samples provided. I'm going to try GridInCell.

I have a question regarding GrinInCells. Instead of displaying the actual grid and edit there in place, I would like to show a new form where the grid can be edited with new data and then capture the grid with data as image and then display the image in a Picture box in the parent grid. Is this possible? How do I get the image of grid?


haneefm [Syncfusion]
Replied On September 4, 2007 04:03 PM UTC

Hi Sudha,

Our apologies for the delay in response.

Here is a sample that shows you "How to capture grid image from the form?" and also place the captured image in a gridcell using static celltype. Please refer to the attached sample for implementation and let me know if this helps.


Thank you for the interest shown in Essential Grid.

Best regards,


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