ssossossosso

Forums

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

This topic contains 2 replies, has 2 voices, and was last updated by  jneto 1 week, 3 days ago.

  • Creator
    Topic
  • #39504

    jneto
    Participant

    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 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #39506
    dzakharov
    dzakharov
    Oro Core

    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 https://www.orocrm.com/documentation/current/cookbook/entities/datagrids#data-filters and more examples you can find https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/FilterBundle/Resources/doc/reference/grid_extension.md

    #39512

    jneto
    Participant

    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 ?

    Thanks

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

You must be logged in to reply to this topic.