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 便可顏色

相關文章
相關標籤/搜索