><table id="searchTable" ng-show="results.length>0" > class="table table-responsive table-hover table-list" > style="width:800px;"> > <thead> > <tr style='-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;'> > <th ng-repeat="column in table.columns" ng-click="sort(column)" > ng-attr-style="width:{{(column.width===undefined) ? 'auto' : column.width + '%' }}"> > {{column.displayName === undefined?column.name:column.displayName}} > <span class="pull-right" href="#" ng-show="column.name === table.sort"> > <i ng-class="{'fa fa-chevron-down': table.dir === 'asc', 'fa fa-chevron-up': table.dir === 'desc'}"></i> > </span> > </th> > > <th ng-repeat="licenseInfo in results[0].licenses"> > {{licenseInfo.licenseType}} > </th> > </tr> > </thead> > <tbody> > <tr ng-repeat="result in results" ng-form="licenseRow"> > <td> > {{ result.salespoint }} > </td> > <td> > {{ result.id }} > </td> > <td> > {{ result.description }} > </td> > <td> > <select class="form-control" ng-model="result.mode" > ng-options="s.modeId as s.description for s in metaData.salespointModes"></select> > </td> > <td ng-repeat="licenseInfo in result.licenses"> > <input type="checkbox" > ng-model="licenseInfo.activated" > name="activated" > id="activated" > ng-change="licenseActivationChanged(licenseInfo.licenseType)" /> > </td> > </tr> > </tbody> > </table>>