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

This topic contains 1 reply, has 2 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 4 years, 3 months ago.

  • Creator
  • #752



    i’m trying to use the Datagridmanager only with an array of wrapper-objects. But i run into problems with methods that need informations for Doctrine (e.g. AbstractQueryFactory throws an Exception, that the Querybuilder is not configured).

    Is there any solution to work with Datagrids without Doctrineentities and only with arrays ?

Viewing 1 replies (of 1 total)
  • Author
  • #753
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    There is no such possibility for now.

    If you want to use plain array as a datasource, you should implement QueryFactoryInterface and ProxyQueryInterface that will works with array data. Also if you need pagination you should also implement PagerInterface.

    Example of custom implementation can be found SearchBundle.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.