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

When I debug st-table safeCopy object it returns empty array. #832

Open
dmlgncn opened this issue Mar 16, 2018 · 1 comment
Open

When I debug st-table safeCopy object it returns empty array. #832

dmlgncn opened this issue Mar 16, 2018 · 1 comment

Comments

@dmlgncn
Copy link

dmlgncn commented Mar 16, 2018

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

dmlgncn commented Mar 16, 2018

my data was filling asynchronously. So I should use st-safe-src="permissionsData.rows" ı think. After debugging I realized that

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

1 participant