Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$source = new Entity('MyEntity'); /* @var $grid Grid */ $grid = $this->get('grid'); $grid->setSource($source);
任何人都知道这是否有可能获得网格执行的原始学说查询,以用实体中的适当项目填充自己。我需要做的就是在会话中存储将由网格显示的所有项目的有序 ID。
试试这个操作查询()见文档:
https://github.com/Abhoryo/APYDataGridBundle/blob/master/Resources/doc/grid_configuration/manipulate_query.md