简体   繁体   English

c# 如何使用 DevExpress(Gridview) 向 WinForms 添加未绑定的复选框列?

[英]c# How to add unbound check box column to WinForms with DevExpress(Gridview)?

I want to add check box column to gridview without choosing Data source because I'm using a dataAdapter.我想在不选择数据源的情况下向 gridview 添加复选框列,因为我使用的是 dataAdapter。 I've searched google, but I think there is no case like me.我搜索过谷歌,但我认为没有像我这样的情况。 Please help me to examples or solution... (I use Visual studio 2013 c#, DevExpress(gridcontrol), Mssql)请帮助我提供示例或解决方案...(我使用 Visual Studio 2013 c#、DevExpress(gridcontrol)、Mssql)

I believe you've tried to add this checkbox column to emulate check-selection.我相信您已经尝试添加此复选框列来模拟检查选择。 From version 13.2, the GridView in the XtraGrid control provides a built-in checkbox column for multiple row selection.从版本 13.2 开始,XtraGrid 控件中的 GridView 提供了一个用于多行选择的内置复选框列。 To enable this feature, set the properties as follows.要启用此功能,请按如下方式设置属性。

Take a look at the Multiple Row Selection via Built-In Check Column help-article for details.有关详细信息, 请查看通过内置检查列帮助文章的多行选择

Online Video: DevExpress WinForms: Web Style Row Selection.在线视频: DevExpress WinForms:Web 样式行选择。

暂无
暂无

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

相关问题 如何使用 Winforms 中的 C# 代码在 DevExpress Gridview 中添加新行? - How to add new row in DevExpress Gridview using C# code in Winforms? 如何在运行时设置过滤器? 用于C#,Winforms,DevExpress中的gridview - How to set Filter in run time ? for gridview in C#, Winforms, DevExpress 如何为“未绑定列”单元格设置值? (SetRowCellValue)Grinview Winforms Devexpress - How to set a value to Unbound Column cell ? (SetRowCellValue) Grinview Winforms Devexpress 如何在devexpress gridcontrol中添加新行?(WinForms C#) - How to add new line of row in devexpress gridcontrol?(WinForms C#) DevExpress Unbound列事件未触发,WinForms - DevExpress Unbound column event not firing, WinForms DevExpress如何获取GridView列的C#的总和 - DevExpress How to get sum of GridView column's C# C#和DevExpress:未绑定的列在分配后无法正确显示值 - C# & DevExpress : Unbound column not display value correctly after assigned 如何在Winforms应用程序上使用C#代码进行databind到devexpress gridview? - How to do databind to devexpress gridview using C# code on winforms app? 如何在选中DevExpress GridView的复选框时将网格视图项添加到列表框 - How to add grid view items to list box on checking a check box of DevExpress GridView 如何从Access数据库获取值并在C#winforms Devexpress中的Gridview中进行设置? - How to get the values from Access Database and set in Gridview in C# winforms Devexpress?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM