Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ysaakpr opened this issue Jan 4, 2018 · 1 comment
Open

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

ysaakpr opened this issue Jan 4, 2018 · 1 comment

Comments

@ysaakpr
Copy link

ysaakpr commented Jan 4, 2018

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants