cxVerticalGrid赋值是实时更新

 

procedure TForm1.cxVerticalGrid1Edited(Sender: TObject;
ARowProperties: TcxCustomEditorRowProperties);
begin
if Assigned(cxVerticalGrid1.InplaceEditor) then
cxVerticalGrid1.InplaceEditor.PostEditValue;
end;