码迷,mamicode.com
首页 >  
搜索关键字:cxgrid    ( 97个结果
CXGRID用法(取行、列值;定位选中某行等等)
Delphi Cxgrid获取选中行列,排序规则,当前正在编辑的单元格内的值cxGrid1DBTableView1.Controller.FocusedRowIndex 当前行号cxGrid1DBTableView1.Controller.FocusedRow 当前行cxGrid1DBTableVi...
分类:其他好文   时间:2015-04-15 18:27:33    阅读次数:170
Delphi : cxGrid的使用方法
1.去掉cxgrid中抬头的box ,在tableview1的ptionsview的groupbybox=false;2.在GRID footer 中加入sum(列), tableview1的optionsview的footer=ture然后在cxGRid1的customize中的summary 的...
分类:Windows程序   时间:2015-04-13 22:31:59    阅读次数:393
cxgrid行,列颜色控制
在cxGridDBTableView的OnCustomDrawCell事件中 begin   AText:=IntToStr(ARecord.Index); end; procedure TMain_Form.cxgrdbtblvwGrid1DBTableView1CustomDrawCell(   Sender: TcxCustomGridTableView; AC...
分类:其他好文   时间:2015-03-31 18:06:11    阅读次数:265
cxgrid更改单元格
procedureTRES_CQ_JB_F.N1Click(Sender:TObject);variLoop:Integer;begininherited;if_JuMaPao=3thenbeginifIsZCJB=2thenbeginCQ_JB_P_F:=TCQ_JB_P_F.Create(Self);ifCQ_JB_P_F.ShowModal=mrokthenbegincxGrid2.BeginUpdate;cxGrid2DBTableView1.BeginUpdate;foriLoop:=0tocxGr..
分类:其他好文   时间:2014-12-28 02:00:39    阅读次数:178
cxgrid打印
begintime,endtime:string;beginbegintime:=FormatDateTime(‘yyyy-MM-dd00:00:00‘,dtp_begin.DateTime);endtime:=FormatDateTime(‘yyyy-MM-dd23:59:59‘,dtp_end.DateTime);dxComponentPrinter1Link1.ReportTitle.Text:=‘日期:‘+begintime+‘至‘+endtime;dxComponentPrinter1Link..
分类:其他好文   时间:2014-12-02 15:26:07    阅读次数:173
cxgrid设置某列为其他列的乘积
procedureTfrmMedBack.cxSumColumn7GetDataText(Sender:TcxCustomGridTableItem;ARecordIndex:Integer;varAText:string);beginifcxsum.DataController.RecordCount>0thenbeginifcxSum.DataController.GetValue(ARecordIndex,5)<>nullthenAText:=FloatToStrF(strtofloa..
分类:其他好文   时间:2014-11-26 06:56:39    阅读次数:243
cxGrid导出Excel货币符号问题
cxGrid导出到Excel,对于Currency类型总是加上了货币符号,可以修改导出文件设置来去掉:在cxXLSExport.pas文件中,修改:procedure TcxXLSExportProvider.SetCellDataCurrency(const ACol, ARow: Integer...
分类:其他好文   时间:2014-11-18 09:07:21    阅读次数:280
控制cxGrid 主从表的明细只展开一个
procedure TForm.ADetailDataControllerCollapsing( ADataController: TcxCustomDataController; ARecordIndex: Integer; var AAllow: Boolean);var I: Integ...
分类:其他好文   时间:2014-11-14 14:10:26    阅读次数:324
cxGrid主视图取得从视图
var DetailGridView: TcxCustomGridView; MasterGridView: TcxCustomGridView;begin DetailGridView:= cxGrid1DBTableView1.Controller.FocusedRow.AsMasterData...
分类:其他好文   时间:2014-11-13 18:05:59    阅读次数:154
cxgrid GridMode 等于 True 时的一些问题。
When using grid mode, the data controller loads a fixed number of dataset records into memory. The number of records to be loaded depends on the GridM...
分类:其他好文   时间:2014-11-06 19:35:30    阅读次数:212
97条   上一页 1 ... 7 8 9 10 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!