Skip to content

Unable to drag if columns are generated by an ng-repeat #7

@sturoid

Description

@sturoid

I can't seem to get draggable columns if the columns are generated by an ng-repeat. It works fine otherwise. Can you tell me if I'm doing something wrong here? Also, is it possible to do drag handles?

<table class="table table-bordered" draggable>
  <thead>
    <tr>
      <th ng-repeat="column in record.columns">{{column.name}}</th>
    </tr>
  </thead>

  <tbody>
    <tr ng-repeat="i in $times(record.rows)">
      <td ng-repeat="column in record.columns" ng-tap="translateOpen(column.rows, i)">{{column.rows[i]}}</td>
    </tr>
  </tbody>
</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