Filter on Datagrid

Is it possible to have Filter on Datagrid? If not how can I create a Filter for Datagrid?


According to the documentation, The Filter affects a collection datasource instance.

So only thing you should do is to bind a Filter with a CollectionDatasource and to bind a DataGrid with the same CollectionDatasource.

    <collectionDatasource id="myDs">
    <filter datasource="myDs"/>
    <dataGrid datasource="myDs">
        <!-- columns -->

Best regards,