Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have created an extension in qliksense using angularjs. In that, i have used "ng-repeat" to create elements based on the data.
I want to call a function once the ng-repeat loop ends. I searched in stackoverflow and got the below solution.But I don't know how to implement this in Qliksense extension. It would be great if anyone help me on this.
http://stackoverflow.com/questions/13471129/ng-repeat-finish-event
Regards,
Prabhu Appu
You can create directives on qvangular. Like so - qvangular.directive(....
You'll need to make sure you include 'qvangular' in your define.
You can find an example here - https://github.com/stefanwalther/sense-extension-recipes/blob/master/Angular-BasicExample/src/direct...
You can create directives on qvangular. Like so - qvangular.directive(....
You'll need to make sure you include 'qvangular' in your define.
You can find an example here - https://github.com/stefanwalther/sense-extension-recipes/blob/master/Angular-BasicExample/src/direct...
Hi,
What do you want to do? Does it really depend on the rendering of the table?
Erik
Thanks fka
it is working as expected. i can able to achieve the requirement.
Hi Erik
I am trying to create a straight table in Qliksense with similar features in Qlikview,
So for minichart i am using jQuery Sparkline library.I need to call the below function once the ng-repeat completes otherwise the sparklinechart is not loading.
$('.inlinesparkline' + i).sparkline('html'
{
'width': ColumnList
'fillColor': 'rgba(52, 152, 219,0.5)',
'lineColor': '#2980b9',
'spotColor': ''
});
i'm able to achieve my requirement using directive as well as timeout function (using timeout function to initialize the sparkline chart after 1sec). so in that time ng-repeat loop will be over
Regards,
Prabhu Appu