Closed vlapra closed 6 years ago
Column grouping works off of the column index for the first and last column of the group. This adds up the width for all column in between. I see now that the documentation/error checks for this might be insufficient and I can add some more for that.
Thanks a lot. It was my misunderstanding:(
Great job!
Thanks V.
Column grouping works off of the column index for the first and last column of the group. This adds up the width for all column in between. I see now that the documentation/error checks for this might be insufficient and I can add some more for that.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
There is an error at SwiftGridView file at line 823. It takes care only about first two columns of a group.
for column in grouping[0] ... grouping[1] { colWidth += self.delegate!.dataGridView(self, widthOfColumnAtIndex: column) }
It should be
for column in grouping { colWidth += self.delegate!.dataGridView(self, widthOfColumnAtIndex: column) }