Xceed网格控制
我有一个 Xceed 网格控件,上面有一个 GroupByRow 控件。填充组后,GroupByRow 宽度仅与其中的列宽度相同。似乎没有选项可以将宽度扩展到实际网格控件的大小。
有人知道解决这个问题的方法吗?
I have an Xceed gridcontrol, with a GroupByRow control on there. When the groups are populated, the GroupByRow width, is only as width as the columns on there. There does not seem to be an option to expand the width to the size of the actual gridcontrol.
Does anybody know a way around this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议将最后一列宽度设置为 *,以便您可以将最后一列拉伸到末尾。这应该将 GroupByControl 一直延伸到 DataGridControl 的末尾。
I would suggest setting the last Column Width to * so that you can stretch the last Column to the end. This should stretch the GroupByControl all the way to the end of the DataGridControl.
您可以获取该控件的源代码吗?对数据网格样式资源进行一些调整可能会有所帮助。
无论哪种方式,我想您可以尝试将宽度绑定到具有“可预测”(松散使用的术语)宽度的其他控件。
假设
DataGrid
包含在名为“gridContaingDataGrid”的Grid
中,那么..Is the source code for the control available to you? A little tweaking of the Datagrid style resources might help.
Either ways, I guess you could try binding the width to some other control with 'predicatable'(term used loosely) width.
Assume, the
DataGrid
is contained within aGrid
named "gridContaingDataGrid", Then..