Finally got it worked for me...

Code
onResult(skillsObj : Skill[]) {
this.loadingIndicator = false;

var skills;
for(let index in skillsObj){
skills = skillsObj[index];
}

skills.forEach((skill, index) => {
(<any>skill).index = index + 1;
});

this.rowsCache = [...skills];
this.rows = skills;
}

On Tuesday, 17 October 2017 17:37:45 UTC+5:30, Sander Elias wrote:
>
> Hi Ajithkumar,
>
> What do you get when you log out skills to the console in your onResult? 
> It looks like it's not getting the data you expect in there. I think the 
> error is somewhere in the code you are not showing.
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to