我正在 VB.NET 中设计一个程序,它可以使用类似 Excel 的网格。我希望网格能够处理单元格的合并和取消合并。有建议吗?
最佳答案
这个 Stack Overflow 问题包含一些可能有帮助的答案:
What is the best third-party WinForms grid for .NET?
你可以尝试Syncfusion's grid ,允许单元格合并。
Merged cells allow users to display adjoining cells with like values as a single cell. The merging is dynamic. If a cell's value changes, the grid will automatically adjust the merged cells.
You can enhance data readability by using the automatic cell merging feature of the XtraGrid. When enabled, neighboring column cells that have identical values are merged into a single cell. If a column is sorted, cell merging has the effect of grouping data - the number of cells within the column will match the number of unique values it holds.
(来源:devexpress.com)
关于vb.net - VB.NET 中需要类似 Excel 的网格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/621984/