NOT LIKE Filter Operator for Datasource.

2 posts, 0 answers
  1. Teddy
    Teddy avatar
    1 posts
    Member since:
    Nov 2011

    Posted 05 Sep 2012 Link to this post

    Is there a way to use not like as a filter operator for a Kendo Datasource. Similiar to SQL { WHERE x not like '%y%' }?
  2. Rosen
    Admin
    Rosen avatar
    3253 posts

    Posted 10 Sep 2012 Link to this post

    Hi Teddy,

    You may achieve similar functionality by using the doesnotcontain operator. For example:

    dataSource.filter({
             field: "x",
             operator: "doesnotcontain",
             value: "y"
    })

    Regards,
    Rosen
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top