Posted 21 June 2021, 7:26 am EST - Updated 3 October 2022, 1:35 pm EST
Hi Team,
We are trying to fetch grid.collectionView which we are getting as undefined,
ts file code -
initGrid(grid) {
this.grid = grid;
const view = grid.collectionView;
view.sourceCollection.forEach(c => (c._lastUpdated = new Date().valueOf()));}}
html file code -
<wj-flex-grid #flex
[itemsSource]="data"
(initialized)="initGrid(flex)" >
Packages -
“@grapecity/wijmo”: “5.20211.781”,
“@grapecity/wijmo.angular2.grid”: “5.20211.781”,
“@grapecity/wijmo.angular2.grid.filter”: “5.20211.781”,
“@grapecity/wijmo.angular2.input”: “5.20211.781”,
“@grapecity/wijmo.grid”: “5.20211.781”,
“@grapecity/wijmo.grid.filter”: “^5.20211.781”,
“@grapecity/wijmo.grid.selector”: “5.20211.781”,
“@grapecity/wijmo.grid.xlsx”: “^5.20211.781”,
“@grapecity/wijmo.input”: “5.20211.781”,
“@grapecity/wijmo.interop.grid”: “5.20211.781”,
“@grapecity/wijmo.styles”: “5.20211.781”,
Please check the below image : -
Please provide a solution.
Thank You.