Hi Alex,
1) Is there an easy way to disable arrow in each cell ('RichText' type) of GridDataBoundGrid control?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
You can hide dropdown(arrow) button by setting the style.ShowButtons property for the cells to GridShowButtons.Hide. Below is a code snippet
GridStyleInfo style = this.grid.Binder.InternalColumns["RichTextColumn"].StyleInfo;
style.ShowButtons = GridShowButtons.Hide;
2) On which event i should use Syncfusion.Drawing.RichTextPaint.DrawRichText(...)? I'd like to use this method to make the rich text not wrapable.
And
3) Which property of GDBG i should use to get richTextControl, which is hosted in a cell and which i should put as argument in DrawRichText(...)?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
You can do is to handle the DrawDisplayText event and draw the text yourself in a way that works with the WrapText using the DrawRichText static method.
[c#]
Syncfusion.Drawing.RichTextPaint.DrawRichText(e.Graphics, rtb, rtf, this.gridControl1.PrintingMode , Bounds1, e.TextRectangle, Bounds2, e.Style.BackColor, false, 100, false);
Here is a forum thread that discuss with the DrawRichText method.
http://www.syncfusion.com/forums/message.asp?MessageID=35231Best regards,
Haneef