Skip to content

support dynamic columns #35

@msakrejda

Description

@msakrejda

This may be outside of the scope of the component, but the data for my tables is heavily dynamic, and I don't know how many columns I'll have up-front, or indeed, anything else about them. As far as I can tell, there's no way to use ng-repeat to build the column header and row data information; e.g.,

<angular-table model="rows">
  <header-row ng-repeat="col in columns" sortable="{col.sortable}">
    {{col.label}}
  </header-row>
  <row>
    <column ng-repeat="col in columns">{{row[col.name]}}</column>
  </row>
</angular-table>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions