AD
Administrator
Syncfusion Team
September 20, 2005 12:06 PM UTC
Hi Manohar,
For RichText CellType, Grid uses WindowsForm''s RichTextBox internally. By default, RichTextBox.AutoWordSelection is set to true. You set that to false. Here is the code that works in the shipping sample - Windows\Grid.Windows\samples\CellTypes\RichTextCells.
GridRichTextBoxCellRenderer renderer = (GridRichTextBoxCellRenderer) this.gridControl1.CellRenderers["RichText"];
GridRichTextEntryPanel panel = renderer.DropDownContainer.Controls[0] as GridRichTextEntryPanel;
panel.RichTextBox.AutoWordSelection = false;
Best regards,
Jay N