2015-12-22 108 views

回答

3

有可能以測試你在找什麼在DataController.Filter.OnGetValueList:在3000代表

procedure TForm1.cxGridTableView1DataControllerFilterGetValueList(
    Sender: TcxFilterCriteria; AItemIndex: Integer; AValueList: TcxDataFilterValueList); 
var 
    i: Integer; 
begin 
    for i := 0 to AValueList.Count - 1 do 
    if AValueList[i].Kind = TcxFilterValueItemKind.fviCustom then 
    begin 
     AValueList.Delete(i); 
     break; 
    end; 

    // AValueList[i].Kind is one of 
    // fviAll, fviCustom, fviBlanks, fviNonBlanks, fviUser, fviValue, fviMRU, fviMRUSeparator, fviSpecial, fviUserEx 
end; 
+1

恭喜! ;-) – Kromster

+0

謝謝:D:D:D –

相關問題