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.
Unfortunately, activation email could not send to your email. Please try again.

Range styles collection editor ?

Thread ID:

Created:

Updated:

Platform:

Replies:

43922 May 8,2006 03:47 PM May 16,2006 04:09 PM Windows Forms 3
loading
Tags: GridControl
Philip Bishop
Asked On May 8, 2006 03:47 PM

I''ve noticed something kind of strange ever since going to version 4 of the grid. Sometimes, and I cant figure out when or why, when you go in the rangestyles collection it will expand a range of cols lets say for you when you have the collapsed in one range. For example say you are in the collection and you add a range of cols(c3:c34) and make some changes and click ok. Again I cant figure out how or when but some times when you go back in the collection editor again it will have split all the cols in the range back out individually so now you have a c3:c3 and c4:c4 and c5:c5 all the way to c34:c34. So if you want to make a change to the whole range you have to delete all the cols except like c3:c3 and then change it back to c3:c34 and make your change. We havent been able to figure this out or narrow it down. Have you seen this before or do you have any thoughts on it??

Administrator [Syncfusion]
Replied On May 9, 2006 10:36 PM

Hi Philip, I am able to see the mentioned behavior when the designer page is closed and opened again. I have enquired about this to the grid Architect and here is the reply… >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The current design does not support serializing range styles. It only serializes individual cell (or row / column) styles. Therefore when reloading the file the original range styles cannot be reconstructed. The range styles only make it easier for you at design time to apply a style to multiple cells at once. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Let us know if you have any further queries. Regards, Calvin.

Administrator [Syncfusion]
Replied On May 10, 2006 11:37 AM

This didnt work like this in verson 3 of the grid?? Secondly are you sure it should work this way again knowing it didnt act like this in version 3??? So you are telling me if i make a change to a range of cols that is 1000 long. SO there is 1000 cols. I have the have c1:c1000. You are telling me that if I want to change the range at a later date I have to delete the other 999 and then change it back to c1:1000 again? Seems odd to me??

Administrator [Syncfusion]
Replied On May 16, 2006 04:09 PM

Hi Phil, thanks for your feedback. For the 4.2 version we will reenable the RangeStyles serialization into code. There will also be a SerializeCellsBehavior property where you can choose whether you want to serialize individual cells (as in 4.1) or RangeStyles (similar to 3.3) into your code. The default will be to serialize range styles ( GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode mode). The grid also searches automatically then for neighboring cells with the same style information and combine them into one range style. Stefan

CONFIRMATION

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.

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.

;