When I debug st-table safeCopy object it returns empty array.
dmlgncn opened this issue · comments
dmlgncn commented
Hi all,
searching of st-table does not work. So I debugged and safeObject ( source object) is empty array . Why? my html is like that:
<table st-set-filter="customFilter" st-table="permissionsData.rows" class="table-permissions" style="height: calc(100% - 5px); min-height: 350px" ng-style="{ 'width' : permissionsData.columnWidth }">
<thead>
<tr>
<th style="min-width:150px" >Category<input st-search="Category" placeholder="search for Category" class="input-sm form-control" /></th>
</tr></thead>
<tbody>
<tr ng-repeat="row in permissionsData.rows">
<td style="min-width:150px" class="permission-row">{{row.Category}}</td>
</tr>
</tbody>
</table>
dmlgncn commented
my data was filling asynchronously. So I should use st-safe-src="permissionsData.rows" ı think. After debugging I realized that