The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
ADAdministrator 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