This topic contains 3 replies, has 3 voices, and was last updated by prganvani 7 years, 1 month ago.
- Topic
Hi,
I have tried to follow the cook book recipe for creating a data grid with parameters, however the example which has been elaborated in the cook book is relevant to widget, since whenever i try to render the grid in an empty template file, all i get is a blank page. Your example works when i try to display the data grid as a widget but doesn’t work when i try to display it separately similar to {% set gridName = ‘event-grid’ %} in a separate template file.
Is there any way to use parameter in {% set gridName = ‘event-grid’ %} as is seems the {{ dataGrid.renderGrid(‘myGrid’, {eventId: entity.id}) }} only works as widget inside a parent body but not as a individual grid?
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.