Table with ng-repeat angularJS

Interaction Metro 4 with other frameworks such as VueJS, React, ...
Post Reply
alien14k
Posts: 2
Joined: Tue Jan 22, 2019 6:11 pm
Status: Offline

Table with ng-repeat angularJS

Post by alien14k » Tue Jan 22, 2019 6:22 pm

Hi all!

I've started to work with this awesome UI but i have a question, can i use ng-repeat into a table? I've try to link the table with ng-repeat (AngularJS) but don't shows the information.

I've try to link data-source on table with my ng-repeat but i can't do it.

There are a way to do it?

Thanks a lot.

User avatar
olton
Site Admin
Posts: 205
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Tue Jan 22, 2019 7:50 pm

Hi. You must initied metro after angular created real DOM:
STEP 0: Use meta tag metro4:init with value false
STEP 1: create tr with ng-repeat and insert into real DOM
STEP 2: call Metro.init()

raut9967
Posts: 2
Joined: Fri Feb 08, 2019 2:06 pm
Status: Offline

Post by raut9967 » Sat Feb 09, 2019 7:41 am

Thanks oltan,for this valuable reply ..helpful
stay connected with us: online android course

alien14k
Posts: 2
Joined: Tue Jan 22, 2019 6:11 pm
Status: Offline

Post by alien14k » Tue Feb 12, 2019 4:26 pm

Hi olton, maybe I'm a little bit stupid haha. But i can't do the setp 2, i've tried but i have not luck. Do you have a little example?

Thanks in advance.

Post Reply