When I set the width of a RadEditor in a RadGrid, the content area is wider than the Editor (I mean I have an horizontal scrollbar). How could I avoid that?
My code to set the Editor's width is:
My code to set the Editor's width is:
protected
void
RadGrid1_ItemCreated(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridEditableItem && e.Item.IsInEditMode)
{
GridEditableItem editedItem = e.Item
as
GridEditableItem;
GridHTMLEditorColumnEditor editor = (GridHTMLEditorColumnEditor) editedItem.EditManager.GetColumnEditor(colName);
editor.Editor.Width = Unit.Pixel(750);
[...]