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

Item placement

Open daslicht opened this issue 8 years ago • 3 comments

Hi, Lets say we have 3 rows. Is there a way to place an item in the middle row, somehow ? Cheers Marc

daslicht avatar Feb 11 '17 15:02 daslicht

You can set the item's position in the NgGridItemConfig that you pass into the item. If you set fixed: true it will then prevent the item from being cascaded.

BTMorton avatar Mar 05 '17 12:03 BTMorton

Hi @BTMorton,

Is there a way to get the array of NgGridItemConfig according to their item position on the grid? I need this to re-order items in my array to use in md-grid-list on non-edit mode.

Thanks a lot, Toni

m-a-l-p avatar Apr 04 '17 07:04 m-a-l-p

@m-a-l-p If you use the event (onItemChange)="method($event)" on your grid it will list and array of the configs from left to right

haakotsm avatar May 26 '17 13:05 haakotsm