Excel style ### contents for too large values

I have a GridControl containing some numeric columns and I want them to display ### if the preferred width of the cell is greater than the width of the column (like excel does). The calculations of preferred width and current with are no problem, but is there an easy way of setting the displayed text for the cell to ### while keeping the real numeric value in the cellvalue? Thanks, Guy

3 Replies

ST stanleyj Syncfusion Team January 10, 2006 03:19 PM UTC

Hi Guy, See if this thread answers your question. Thanks, Stanley


AD Administrator Syncfusion Team January 10, 2006 03:33 PM UTC

Yep, works like a charm. Thanks for the swift response! By the way, do I need to cache the GdipFont returned from the syncfusion font or is it cached internally? >Hi Guy, > >See if this thread answers your question. > >Thanks, >Stanley


ST stanleyj Syncfusion Team January 14, 2006 10:09 AM UTC

Hi Guy, Sorry, I missed reading your question earlier. It is cached internally, please refer Essential Suite\Windows\Grid.Windows\Src\Base\Styles\GridStyleInfo.cs. The tool tip also provides you the information. Regards, Stanley

Loader.
Up arrow icon