问题描述
大家好,
"IEditableCollectionView"是处理数据添加和删除新项目以及以事务方式编辑项目以绑定WPF数据网格的一个好概念.
您能帮我吗..如何在WPF数据网格中实现它?
我的要求:我有多个WPF数据网格和单个数据源(DataSet或DataTable).我想单击一次将新的空行添加到所有datagrid(我做了一部分).
**所有Datagrid列均可单击编辑-完成.
但是,只要用户单击添加"按钮,就会在所有三个网格中添加一个空行(如上所述).我想更新按钮保存点击事件的数据.
我的问题是....我无法从CollectionView中获取用户输入的数据...
如果有任何机构对``IEditableCollectionView''概念有很好的了解...请向我解释如何从集合视图中编辑/更新和删除行...
如果您提供样品或网址真的对我有帮助..
提前谢谢.
Eswara G
Hi All,
''IEditableCollectionView'' is A good concept to deals with data adding and removing new items, as well as editing items in a transactional way to bind WPF Data Grid.
Can you help me..How to implement it for WPF Data Grid ?
My Requirement : I have multiple WPF Data Grid''s with single data source ( DataSet Or DataTable). I want add new empty row to all datagrid''s at single click (i did it partially).
** All Datagrid columns are single click editable -- done.
But whenever user click on ''add'' button an empty row is added to all three grid''s (above said). i want to update data on button save click event.
My problem is.... i am unable to get User entered data from CollectionView...
if any body have good knowledge on ''IEditableCollectionView'' concept...please explain me How to edit/Update and Delete rows from collection view...
if you provide samples or Url''s really gr8 helpful me..
Thanks in advance.
Eswara G
推荐答案
这篇关于[已解决] IEditableCollectionView ::如何在集合视图中编辑/更新和删除行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!