5,388
社区成员
发帖
与我相关
我的任务
分享
procedure TForm1.tv2EditValueChanged(Sender: TcxCustomGridTableView;
AItem: TcxCustomGridTableItem);
var
s, s1 : Variant;
begin
//主从表时, 从表有焦点单元格.
// AItem.FocusedCellViewInfo.RecordViewInfo.Index; //行
// AItem.FocusedCellViewInfo.Item.Index; //列
s := AItem.FocusedCellViewInfo.Value; //单元格值
if AItem.Editing then
Sender.DataController.Post();
s1 := AItem.FocusedCellViewInfo.Value;
end;