网格选择中的列表框项 [英] listbox items in grid selection

查看:172
本文介绍了网格选择中的列表框项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


i有两个网格控件。第一个网格的最后一列有列表框。





现在在第二个网格中我有一些行应该出现在grid1的列表框中....所以我把grid2的数据源绑定到grid1的列表框...到这里一切都很好.. ..



现在我的问题是我不想从grid1的列表框中选择多个项目......



请在源视图集选择模式中建议

hi
i had two grid controls.first grid has last column has list box.


now in the second grid i has some rows which should appear on the listbox of grid1....so i had binded the datasource of the grid2 to the listbox of grid1...up to here everything is fine....

now my problem is i am not bale to select multiple items from the listbox in grid1...

please suggest

推荐答案



SelectionMode =multiple
in source view set selectionmode as
SelectionMode="multiple"


这篇关于网格选择中的列表框项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆