摘要: using System; using System.Collections; using System.Collections.Specialized; using System.Data; using System.Data.SqlClient; using System.Configurati 阅读全文
posted @ 2021-01-14 18:39 aBung 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1、 如何解决单击记录整行选中的问题 View->OptionsBehavior->EditorShowMode 设置为:Click 2、 如何新增一条记录 (1)、gridView.AddNewRow() (2)、实现 gridView_InitNewRow 事件 3、如何解决 GridContr 阅读全文
posted @ 2021-01-14 18:21 aBung 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 是否禁止所有列排序: GridView -> OptionsCustomization -> AllowSort 是否禁止当前列排序: Columns -> Column options ->AllowSort 阅读全文
posted @ 2021-01-14 17:07 aBung 阅读(1916) 评论(0) 推荐(1) 编辑
摘要: /// <summary> /// 表示每行生成的时候随绘制这一行数据的时候触发 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void gridView1_CustomDr 阅读全文
posted @ 2021-01-14 17:05 aBung 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 设置GridControl 里面的 gridview 属性 找到OptionSelection 将EnableAppearanceFocusedCell 属性设置False 就可以了 此方式同样适用于treeList 阅读全文
posted @ 2021-01-14 17:03 aBung 阅读(435) 评论(0) 推荐(0) 编辑