Closed jannovy closed 1 year ago
@jannovy Why don't you use method setDataSource
? I don't get your proposal changes.
@radimvaculik The goal is to use a custom implementation of the DoctrineDataSource class. So I have to create child class of DataModel to replace \Ublaboo\DataGrid\DataSource\DoctrineDataSource by my own \App\DataGrid\DataSource\DoctrineDataSource
Or is there some other shortcut ?
@jannovy Did you check this PR? https://github.com/contributte/datagrid/pull/1038 Does it solve your problem?
@jannovy Ping.
@radimvaculik Yes, this is solution for me.
@jannovy Can we close this issue?
@radimvaculik Yes, thank you.
I have to customize DoctrineDataSource class to improve Doctrine performance. This is the most simple way how to embed my own DoctrineDataSource to DataModel and DataGrid.