问题标签 [xceed-datagrid]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - 检测 WPF 的 Xceed DataGrid 控件中的过滤器何时更改
我目前在我的 C# WPF 项目中使用 Xceed DataGrid 控件。我需要知道用户何时更改网格上的过滤器,以便更新我的 ViewModel。
有没有办法检测网格上的过滤器何时更改?
c# - 禁用 XCeed WinForms DataGrid 上的鼠标悬停效果?
我正在使用 Xceed WinForms DataGrid 控件,但似乎无法删除鼠标悬停行突出显示效果。我尝试将 DataGrid 更改为只读并将 SelectionMode 更改为 None,但它仍然坚持在鼠标悬停时突出显示该行。
我在文档中找不到任何建议如何执行此操作的内容。
有任何想法吗?
c# - 强制滚动到 xceed DataGridControl 中的最后一组
我遇到了由 xceed 网格的虚拟化引起的问题。我有一个按钮可以展开/折叠所有分组。问题是,它仅适用于网格中已虚拟化的内容。我在想一个解决方案是强制向下滚动到底部强制加载所有组,然后执行扩展折叠。我知道您可以在 xceed dataGridControls 上使用 BringItemIntoView,但我没有看到为组执行此操作的方法。
c# - How to add ComboBox column in XCeed DataGridControl (WPF)
I am trying to add a combobox column in XCeeds DataGridControl
. Managed to make a CellEditor
, which sets proper values to the binded field, but there are problems with the CellContent
template.
Xaml:
Code:
EDITED::
I've replaced CellEditor by ContentTemplate, but when I am trying to edit the data inside Grid, the source table remains the same. How I can fix this?
c# - 从代码隐藏向 DataGridControl 添加列
我正在尝试通过代码隐藏在运行时创建列并将其添加到 DataGridControl(Xceed 社区版)。该列包括作为 DataTemplate 的组合框。这是我现在拥有的:
ViewModel 包含两个数据表:
现在,我无法确定如何将绑定设置为ComboBox.SelectedValueProperty
as to {xcdg:CellEditorBinding}
,因为CellEditorBinding
在程序集中找不到。我怎样才能做到这一点?
c# - 从虚拟化源中删除 XCeed 网格
我正在查看 XCeed 的 WPF 数据网格示例,试图找出在“虚拟化数据”模式下如何删除一行。
我不明白如何删除一行,因为底层虚拟集合没有实现任何删除方法。
对此的任何帮助将不胜感激。
wpf - Xceed DataGrid - 是否可以进行“部分排序”?
我有一个使用 Xceed DataGridControl 的 WPF/MVVM 项目。它的 ItemsSource 是 PagedCollectionView(Silverlight 代码)。现在我按姓氏字段进行分组,并在网格中获取分组数据 - 史密斯(5 行)、约翰逊(10 行)、威廉姆斯(15 行)。Xceed DataGridControl 能否以这样的方式进行模板化,即在单击某个按钮时,它将按 FirstName 字段对 Johnson 的记录进行排序,而留下 Smith 和 Williams 的 - 以及全局 DataGrid 'LastName' 列未排序?此外,Johnson 的行必须显示在相同的数据网格行中 - 如果 Johnson 的组占用第 6 到 16 行 - 在应用这种排序后,它应该保留第 6-16 行
wpf - 如何在没有 SetBinding() 方法的情况下向 UIElement 的属性添加绑定?
我问的是 Xceed 的 WPF 扩展工具包中的 Column 对象 - DataGridControl。我需要在代码中创建一个 Column,并为其 Width 属性添加一个绑定。Column 类不公开 SetBinding() 方法。尽管在 XAML 中 - 它像往常一样支持绑定:
有没有办法对某些 ViewModel 的属性进行这种绑定?或者,可能是应用一些具有绑定的样式或模板(静态?在代码中创建?)?