在例子WpfApplication36中
- <c1:C1DataGrid.Columns>
- <!-- First two columns must be headers, put several headers using this custom syntax-->
- <c1:DataGridRowHeaderColumn Header="[Country, Continent]" Binding="{Binding Continent}" />
- <c1:DataGridRowHeaderColumn Header="[Country, Name]" Binding="{Binding Country}" />
- <c1:DataGridTextColumn Header="[Final, Champion]" Binding="{Binding First}" />
- <c1:DataGridTextColumn Header="[Final, Runner-up]" Binding="{Binding Second}" />
- <c1:DataGridTextColumn Header="[Semi-Finals, Third]" Binding="{Binding Third}" />
- <c1:DataGridTextColumn Header="[Semi-Finals, Fourth]" Binding="{Binding Fourth}" />
- </c1:C1DataGrid.Columns>
复制代码
这种列表头合并方式是否无法在FlexGrid中实现
另外在FlexGrid中能否实现这个界面中通过拖拉列冻结的分割线来自动冻结几列呢(好像DataGrid中是用CanUserFreezeColumns实现的)
如果FlexGrid、DataGrid都能实现列表头合并、拖拉列冻结分割线,我只是用于用绑定方式显示报表明细数据,版主建议用哪个更好呢 |