procedure TCFormQuery.sQryAfterOpen(DataSet: TDataSet);
begin
inherited;
with gResultDBTv do
begin
(DataController as IcxCustomGridDataController).DeleteAllItems;
(DataController as IcxCustomGridDataController).CreateAllItems(False);
end;
end;
begin
inherited;
with gResultDBTv do
begin
(DataController as IcxCustomGridDataController).DeleteAllItems;
(DataController as IcxCustomGridDataController).CreateAllItems(False);
end;
end;