shlomiassaf / ngrid

A angular grid for the enterprise

Home Page:https://shlomiassaf.github.io/ngrid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Edit Remove row buttons or any kind of html to a cell template

ahmed-habbachi opened this issue · comments

Please describe the feature you would like to request.

I want to add edit and remove buttons to the last grid column.
it would be nice to be able to add any html or component.

Sorry I struggled with this but now i get the cell template stuff i was able to do it with:

<div *pblNgridCellTypeDef="'settings'; row as hotel"> <button color="danger" size="sm" (click)="removeItem(hotel)">Remove</button> </div>