标签:nbsp focus data tail get tom ble 删除 ade
cxgrid主从表显示方便直观。
var
ADetailDC: TcxGridDataController;
AView: TcxCustomGridTableView;
with cxgrdbndtblvwcxgrd1DBBandedTableView1.DataController do
ADetailDC := TcxGridDataController(GetDetailDataController(FocusedRecordIndex, 0));
ADetailDC.DataController.SelectAll();
ADetailDC.DataController.DeleteSelection();
以上几句就可以完成,但是老出现致命错误。查其原因:
是因为设定了每次只打开一个从表,所以出现上面错误,真是痛不欲生。
标签:nbsp focus data tail get tom ble 删除 ade
原文地址:http://www.cnblogs.com/usegear/p/6659230.html