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

Double Underline Style

Hello, Does the EssentialGrid support the double underline (Accounting) style? If so, how do I access it? Thanks, Andrew

3 Replies

AD Administrator Syncfusion Team April 27, 2004 08:32 PM UTC

No, we don''t have support for double underline style. One idea to get that working would be to instead draw your own border for a cell. To do that, you first need to allocate how much space you need with the GridStyleInfo.BorderMargins property. Then in the CellDrawn event you can draw the double underline for the cell. Another event that might also work is the DrawCellFrameAppearance as shown in the CustomBorders example. You could use the .Tag property of GridStyleInfo to indicate whether a double underline border should be drawn or not. The GridStyleInfo.BorderMargins property could be set in PrepareViewStyleInfo after checking if the .Tag for double underline has been set or not. Stefan


LK Leow Kah Man June 29, 2006 08:56 AM UTC

Can the SF team please introduce this into the next version of GridControl? The clients would love this. Thanks in advanced.


AD Administrator Syncfusion Team June 30, 2006 10:35 PM UTC

Hi Leow, I have created the sample as per your requirement. The attached sample implements Double Underline (Account) style in a grid. Please refer this sample for more details. Kindly provide us more details, if your requirement is different. Sample. GriddoubleUnderline.zip Best Regards, Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon