Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums Forums OroCRM OroCRM – How do I? Questions Dashboard widget not filtering

This topic contains 3 replies, has 3 voices, and was last updated by  msulima 1 month ago.

  • Creator
  • #26609


    Hello, i have a datagrid widget on my dashboard for a custom entity, and i added some filters to the configuration.

    My problem is that the configuration is not used to filter the grid ( the grid return all the records )

    I read the documentation but i’m not sure if i’m missing something.

    Do i need some add some extra services or it just word out of the box. How does the datagrid knows how to filter the query ? Can you provide a more complete example ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
  • #26610


    Hi! The described message is, unfortunately, not enough to understand what is wrong. Could you please show me a more detailed about your datagrid? For provide you information about datagrid filters read and more examples you can find



    thanks for your reply.

    My grids work and the filters also, to list
    I was trying to put the some filters on the dashboard widget configuration. They work fine and i can save the configuration. But the problem was that the configurations weren’t used to modified the grid query / results.

    I think i need to use a datagrid listener

    to apply my widget selected configurations and filter my grid query. I tested and it works.
    Is this the way ?




    Hello, jneto.

    Will be better to have configuration of your widget and datagrid to say exactly. But I think you should use another tag for your listener.

    In this event you will have grid Datasource and you can apply additional where clauses for query builder of that datasource.

    Also next documentation may be useful

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

You must be logged in to reply to this topic.