如何访问cxGrid控件过滤后的数据集

var
 I: Integer;
begin
 Memo1.Lines.Clear;
 with cxGrid1DBTableView1.DataController do
   for I := 0 to FilteredRecordCount - 1 do
     Memo1.Lines.Add(DisplayTexts[FilteredRecordIndex[I], 0]);
end;

  https://www.devexpress.com/Support/Center/Question/Details/A385/how-to-iterate-through-all-gridview-records-in-their-display-order-irrespective-of-group

猜你喜欢

转载自www.cnblogs.com/railgunman/p/9901795.html
今日推荐