
- 积分
- 0
- 在线时间
- 7 小时
- 主题
- 5
- 注册时间
- 2016-10-27
- 帖子
- 13
- 最后登录
- 2017-1-17

- 帖子
- 13
- 软币
- 143
- 在线时间
- 7 小时
- 注册时间
- 2016-10-27
|

楼主 |
发表于 2016-12-7 14:58:17
|
显示全部楼层
楼主已自行解决希望方法能帮到后来遇到相同问题的人
主要原因就是XtraGrid 数据源为List时就是不能编辑数据的!!!!
方案一:
Unable to edit value in Xtragrid if data source is List
https://www1.devexpress.com/Support/Center/Question/Details/Q518840
方案二:
将List转成BindingList通过连接方法Concat 即可就是这么简单
l数据源为List不能编辑数据的原因:List 中的对象是readOnly的而且基本改变不了一定要用这个就只能重写GridControl了 |
评分
-
查看全部评分
|