摘要:
其实这个方法就是cxGrid范例中提供的,原范例在CellLevelMultiselectDemo目录下把cxGridView里OptionsView选项中的两项修改成如下 OptionsView.Indicator = True OptionsView.IndicatorWidth = 40//宽度在customDrawIndicatorCell事件中填写procedure TForm1.cxG...
阅读全文
摘要:
1、设置斑马线 很简单设置一个属性而已在TcxGridDBBandedTableView.Styles属性中有 ContentEven(奇数行风格) 和 ContentOdd (偶数行风格) ,设定一下风格就好了。2、根据记录内容更改字体颜色参考范例CustomDrawTableViewDemo,主要在TcxGridDBBandedTableView.OnCustomDrawCell事件中实现。如...
阅读全文