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
close icon

RichText CellType?

Does the grid grouping control for the web have a CellType of RichText? I want to edit a cell as rich text and I can not figure out how to do it.




1 Reply

RR Ranjithkumar R G Syncfusion Team September 19, 2011 11:25 AM UTC

Hi Truman,

Thanks for using Syncfusion products.

Your requirement of having CellType as RTE can be achieved by adding textarea in EditItemTemplate.

Please refer to the below code-snippet.

[ASPX]
















[CS]
protected void init(object s, EventArgs e)
{
HtmlTextArea textarea = s as HtmlTextArea;

GridCell gc = textarea.NamingContainer as GridCell;
textarea.Value= gc.Row.Record.GetValue("Name").ToString();

}


Please refer to the below link to download the sample application.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=1009151915140046.zip

Please let me know if you have any other queries or concern.

Regards,
Ranjithkumar.



Loader.
Live Chat Icon For mobile
Up arrow icon