Add filterSelector to CGridView
why is this line added here ?
check the updateSelector documentation and in similar style please add an example here, also we can use the same line Note: if this value is empty an exception will be thrown. and check that in the code like it's done for updateSelector, this way in the JS code there is no need to check if this property is empty - because it makes no sense to have filters on the grid and then set this property to empty.
Note: if this value is empty an exception will be thrown.
destroy is a separate issue, please make this PR only about filterSelector as discussed in this issue, for destroy you can open a new issue and then we can decide if it's needed and if to add it. IMO this functionality is not needed in the core.
the value of filterselector is passed from the PHP part, so it's always set, no need to add the || '' part here.
no need to check for length - same as with inputSelector
@mdomba I implemented your comments
and I didn't add that line with @version $Id$ - I followed yii workflow
(got new suprises from github windows application)
the PHP code is good, but jquery.yiigridview.js cannot be reviewed because of the cr/lf problem, now the whole file is marked as changed so it's not possible to see just the changes - files
Closing this as there is a new PR - #1619