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

Regd---Highlight Text

Hi There, I am using RichTextCell,IntegerCell,DecimalCell and other types of cells of GridDataBoundGrid.In any of these cells,the ability to select(i.e, highlight) text either doesn''t work or is difficult(try to highlight three and a half words).Kindly provide some solution to this. Cheers, Manohar.

1 Reply

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

Loader.
Live Chat Icon For mobile
Up arrow icon