by default the filter for each data column is a text field. to display the field as drop down list, CDataColumn::filter property must be set as an array. for example, for user table there's column for sex represented by 1 = male and 2 = female. in the…
more »