OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – How do I? Questions How to add Filter in datagrid that its datasource is an array

This topic contains 2 replies, has 3 voices, and was last updated by  oro_newbie 5 years ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #36645



    I’m trying to add a filter to a datagrid that its datasource is an array.
    I followed the the Documentation on Array datasource but I can’t find a way how to do it.

    So how do I add a filter to a datagrid with an array as a datasource?

    Thanks and Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #37315

    Andrey Yatsenko

    Unfortunately, using existing filters is not possible due to a lot of hardcoded dql in them.

    Each datasource implementation require it’s own extensions to do sortings, filtering, pagination etc
    and filters will require custom implementation for each datasource.

    And there is no built-in filters implementation for array datasource.



    @Rachid: you can however create a provider that returns the array. Try Mike’s post here. In the place of query is where you will be adding your array.

Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

Back to top