DEVEXPRESS控件使用技巧记录-GRIDCONTROL

1. 存在父子表的时候,只容许父表的一条记录展开,其余记录都收起ide

方法:Feature Browser -> Master-Detail -> behavior -> AllowOnlyOneMasterRowExpanded = ture 便可。io

2. 加载后默认首行的颜色ast

方法:Feature Browser -> Focus,Selection,Navigation -> Row And Cell Selection -> Appearance sed

下面 分别要设置HideSelectionRow和SelectedRow 下面的背景色方法

另外若是只想要整行变色 某个单元格不变色 能够Feature Browser -> Focus,Selection,Navigation -> Focus -> Focus Appearancevi

将EnableAppearanceFocusedCell = False 便可颜色

相关文章
相关标签/搜索