简体   繁体   English

在XAML中对数据绑定的数据网格进行排序

[英]Sorting data bound datagrid in XAML

Pretty much I want to accomplish what was asked about here: DataGrid - how to make Column sorting dynamic, to cater for when bound data changes? 我几乎想完成这里提出的问题: DataGrid-如何使列排序动态化,以适应绑定数据的更改?

I found one version here: http://wpf.codeplex.com/discussions/46939?ProjectName=wpf 我在这里找到一个版本: http : //wpf.codeplex.com/discussions/46939?ProjectName=wpf

What I really want is XAML version of manipulating CollectionViewSource Does anybody have sample on this? 我真正想要的是操作CollectionViewSource的XAML版本,有人对此有示例吗?

I think exact "solution" which is really workaround is here and more . 我认为确切的“解决方案”(这实际上是解决方法) 在这里 等等

What a pain :) 多么痛苦:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM