Open k11k2 opened 7 years ago
You want it to be [(ngGridItem)]="forecast"
rather than forecasts
as that's your array item. Currently, you're binding the item config to the whole array.
@BTMorton what " box.config " does ? what role config play there?
As you suggested [(ngGridItem)]="forecast" didn't work.
Sorry, it's [(ngGridItem)]="forecast.config"
. Apologies it's taken me so long to reply
My output:
My Html:
My Ts:
if i add [(ngGridItem)]="forecasts.config"
Very new to this typescript as well as angular2-grid, let me know where did I mistaken.