This topic contains 0 replies, has 1 voice, and was last updated by Mike Kudelya 7 years, 5 months ago.
- Topic
How to show datagrid without data on first run?
For example we have datagrid with new option ‘renderItems’:
1{{ dataGrid.renderGrid('some-grid-name', { 'renderItems': false }, renderParams) }}Add to this return following line:
1renderItems: _.isUndefined(metadata.gridParams.renderItems) ? true : metadata.gridParams.renderItemsAdd to body initialize following line:
1this.renderItems = options.renderItems;
The forum ‘OroPlatform’ is closed to new topics and replies.