angular2-grid
angular2-grid copied to clipboard
Item placement
Hi, Lets say we have 3 rows. Is there a way to place an item in the middle row, somehow ? Cheers Marc
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.
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 If you use the event (onItemChange)="method($event)" on your grid it will list and array of the configs from left to right