angular2-grid icon indicating copy to clipboard operation
angular2-grid copied to clipboard

Unable to rendor rows and columns

Open k11k2 opened this issue 8 years ago • 3 comments

My output: uigrid

My Html: tsfile

My Ts: ts2

if i add [(ngGridItem)]="forecasts.config" console

Very new to this typescript as well as angular2-grid, let me know where did I mistaken.

k11k2 avatar May 04 '17 13:05 k11k2

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 avatar May 05 '17 23:05 BTMorton

@BTMorton what " box.config " does ? what role config play there?

As you suggested [(ngGridItem)]="forecast" didn't work.

k11k2 avatar May 08 '17 03:05 k11k2

Sorry, it's [(ngGridItem)]="forecast.config". Apologies it's taken me so long to reply

BTMorton avatar Jun 01 '17 22:06 BTMorton