The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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??
ADAdministrator Syncfusion Team May 10, 2006 02:36 AM UTC
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.
ADAdministrator Syncfusion Team May 10, 2006 03:37 PM UTC
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??
ADAdministrator Syncfusion Team May 16, 2006 08:09 PM UTC
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