ng-table replacement in angular 11

257 views Asked by At

I'm trying to convert my old code from angularjs to angular11/ javascript to typescript. I'm look for the best way to replace ng-table in angular 11 because when I typed in ng-table, the IDE highlight and let me know that attribute ng-table is not allowed here. What should I do in this case? Thanks

    <table id="tb1" ng-table="items" class="table table-hover" >
       <button  name="toggle{{ (items.page() - 1) * items.count() + $index }}" class="btn btn-link btn-mini" 
            ng-click="function()">
              <span [hidden]="!show">  Undo Delete </span>
              <span [hidden]="show">"   Delete </span>
            </button>
</table
0

There are 0 answers