Home > Back-end > CxGrid filter can't same column filtering with multiple values
CxGrid filter can't same column filtering with multiple values
Time:09-15
The default filter only one value, such as the value of a column with zhang SAN, li si, Cathy, I want to filter and choose zhang SAN and li si, so that I can do it.
CodePudding user response:
With a DataSet directly. The Filter can be
The DataSet. The Filter:=Format (' (or name=% s name or the name==% s % s) ', [QuotedStr (' zhang '), QuotedStr (' bill '), QuotedStr (' Cathy ')]); The DataSet. Filtered:=True;
CodePudding user response:
That can't enter Tom, dick and harry yourself that efficiency is too low