Hi,
I have a problem with the mergedcell. Like in the image, 'Column 0' is a multiline column with the MergedCellStyle property set to always. And the Row Sizing feature is set to AutoFree. When data is loaded, both rows of 'Column 0' are auto resized large since they have the same big text. Is it possible to let the merged cell share the same height like the following? And by the way, how the cell a and c, b and d could share the average height, which is half the big 'Column 0' cell's height?
I tried this out and I get the same results, but I don't know if there's any good way for the grid to handle a situation like this. Since the row heights are variable, there's really not way to grid could know how much height to apply to each row when cells are merged between two (or more) rows.
I guess this could be done as a sort've 2-pass process, where the grid determines the height of every row and ignores the merged cells, and then makes a second pass to make sure each Merged cell is big enough to display all of the text, but this would be pretty inefficient and might cause performance problems.
Another option here would be for us to add a property that allows you to simply ignore merged cells when dealing with autosizing of the row heights. In theory, since the merged cells will always be at least 2 rows high, anyway, this will probably work most of the time.
But any way you look at it, this could potentially cause either performance issues or sizing issues.
Also, I suppose this doesn't come up all that often, as I expect that most of the time, merging is done on cells with smaller values, since the longer the value is, the less likely it is to be exactly the same as an adjacent cell.
Do you think adding a property to ignore merged cells when autosizing the rows would work in your application? Or is the merged cell text much larger than any other cell in the row.
Thanks, Mike.
As a general purpose grid, it's never certain which cell is big or merged.
Above all, your grids are very professional. If a property is added to indicate how the height of mergedcell is decided, it would be perfect.
If some performance issue rises, I guess it's ok to let the user decide.
Anticipating this new feature in future versions.
HI,
After some research, this issue has been determined to be a new feature request. I have sent your feature request directly to our product management team. Our product team chooses new feature requests for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your reference number for this feature request is FR12527.
If you would like to follow up on your feature request at a later point, you may contact Developer Support management via email. Please include the reference number of your feature request in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Sincerely,
Matt
Developer Support Engineer
Just a follow up.
Please let me know if you have any questions regarding the feature request.
Sincerely, MattDeveloper Support Engineer
please support this idea:
http://ideas.infragistics.com/forums/192359-windows-forms/suggestions/20319934-ultrawingrid-autosize-merged-cell-smartly