Filtering through ClientDataSource

2 posts, 0 answers
  1. Ricardo
    Ricardo avatar
    10 posts
    Member since:
    Apr 2014

    Posted 28 Nov 2014 Link to this post

    Hi, I need to filter the Grid through a Client DataSource in client side.
    I can filter the grid applying the filter to the grid directly, however it is not possible filter using non visible columns, so I tried to apply a filter the grid adding filter expressions in the ClientDataSource but nothing happens.
    For example
        var datasource = $find('MyClientDataSource');
        datasource.get_filterExpressions().add({ fieldName: "MyField", value: "MyValue", operator:Telerik.Web.UI.ClientDataSource.FilterOperator.EqualTo });
        tableView.rebind();

    This code doesnt work. It is possible do this kind of filtering?
  2. Ricardo
    Ricardo avatar
    10 posts
    Member since:
    Apr 2014

    Posted 28 Nov 2014 in reply to Ricardo Link to this post

    Sorry, I posted in the wrong forum
Back to Top