javascript - AngularJS ng-table with pagination: no rows displayed -


i'm trying use ng-table (http://bazalt-cms.com/ng-table/) in web app based onto typescript , angularjs. have display in paged table 50-500 items @ most, loaded @ once server; i'll need client-side paging of controller's data. yet, no row displayed when data loaded, unless totally disable paging.

i made plunkr reproduces issue: http://plnkr.co/edit/0hcsmm03l8ihwepccm7x?p=preview

as i'm using typescript (but there no definition lib right now), i've shaped example code typical outcome of ts compiler, apart that, followed paging example in ng-table website. click button fill controller's data.

update: examining ng-table source managed force refresh calling tableparams.total(...) , tableparams.reload() after have filled data array; yet, there no trace of code in samples i'm feeling bit wrong this.

i used (i.e. update total , reload table). reasoned had created instance of table , needed update instance new information. hth


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -