esvit / ng-table

Simple table with sorting and filtering on AngularJS
http://esvit.github.io/ng-table
BSD 3-Clause "New" or "Revised" License
2.77k stars 851 forks source link

Having ng-table as element directive with child element as table #1029

Open ysaakpr opened 6 years ago

ysaakpr commented 6 years ago

As of now ng-table directive can be used as a attribute on a table element. This reduce the ability to manage the table behaviour based on ngTable scope.

As an alternative can we extend it to be used as element directive / or div attribute direcevtive and child table element

it will looks like this.

<div ng-table="vm.tableParam">
    <div>
    </div>
    <table>
        <-- here goes the real table defenition -->
    </table>
</div>

This enabled the user to have better control of ng-table scope out of the table element, and can display custom warning messages out of the real table without affecting the real table and not much complexity to use ng-table events.

  1. This helps user to show a progressbar on top of the table when a reload happens
  2. This helps to show additional information about the table
  3. This even can specify footer and header rows so that pagination related information can be easily handled

Let me know your opinion, since there are no updates happened on it from long time and not compatible with latest angular, don't know how many its useful.

maykon-oliveira commented 1 year ago

I'd like to keep this project, there are many feature and improvement we could add. are u active?