cxgrid删除应用过滤后的行

var
I: Integer;
begin
with do
for I := 0 to ViewData.RecordCount - 1 do
begin
ViewData.Records[0].Focused := True;
DataController.DataSet.Delete;
end;

原文地址:https://www.cnblogs.com/martian6125/p/9631284.html