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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Formatting in virtual grids via ParseString

Thread ID:





28965 May 12,2005 11:21 PM UTC May 13,2005 12:41 PM UTC WinForms 1
Tags: GridControl
Sue Harris
Asked On May 12, 2005 11:21 PM UTC

Hi, I use virtual grids in my project, and store formatting for each cell by calling style.ToString() and storing the string (when the cell style changes). In my QueryCellInfo, I set that style by calling e.Style.ParseString(storedFormat). Previously this worked perfectly, but when I upgraded to version 3.2.1 it stopped working. The cell style has the formatting as provided - if I look at a property grid of the cells format it shows the correct formatting, it just doesn''t draw it in the grid. I can get around the problem by creating a new GridStyleInfo, parsing the string into it, and then calling ModifyStyle on the e.Style with Override, but this seems a little ineffiecient. Is this a fault that will be fixed, or a design change (in which case I should be rethinking my formatting solution), or just something wrong in my install? I duplicated the problem in the VirtualGrid solution by replacing the e.Style.Interior = new BrushInfo(Color.FromArgb(0x91, 0xBB, 0xB8)); with: e.Style.ParseString("Interior = Solid; 145, 187, 184\r\n"); Any suggestions/comments? Thanks, Sue

Administrator [Syncfusion]
Replied On May 13, 2005 12:41 PM UTC

I can also see the problem. We will look into it and get back to you.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon