Help With Simple Widget ToC With Ng-repeat And Navigation API.
Có thể bạn quan tâm
Hello, good afternoon to all.
Maybe someone can help me; I have a problem with the qw-sys-info component, I am trying to make a simple widget for a table of contents for Qlik Sense.
Here is my code:
<qw-sys-info content="sheets">
<ul>
<li class="mxTocLi" ng-repeat="sheet in sheets" ng-click="navigation.gotoSheet('{{sheet.qInfo.qId}}')">
<br>
<span class="mxTocSpn" ng-bind="sheet.qMeta.title"></span>
</li>
</ul>
</qw-sys-info>
And css style:
.mxTocLi {
width: 146px;
height: 80px !important;
display: inline-block;
margin: 5px 5px 10px 5px;
padding: 4px 4px 4px 4px;
border:1px solid gray;
text-align:center;
vertical-align: middle;
}
.mxTocSpn{
display: inline-block;
vertical-align: middle;
}
Problem is code in ng-click don't run o show any problem or error message. I did several tests and everything seems to point to a problem of scope; ng-click don't execute navigation.gotoSheet.
However, if I copy and paste the generated code without it being generated with ng-repeat everything works perfectly. It is very similar to what is described here:
Inserting Parameters into JS using Angular
Thanks in advance.
834 Views- All forum topics
- Previous Topic
- Next Topic
I found the answer
For all the new ones in Angular:
Is not the same:
ng-click = "navigation.gotoSheet ('{{sheet.qInfo.qId}}')"
What:
ng-click = "navigation.gotoSheet (sheet.qInfo.qId)"
Note: Message edited by Community Moderator to add English translation as a courtesy.
- - - - -
Encontré la respuesta.
Para todos los nuevos en Angular:
No es lo mismo:
ng-click="navigation.gotoSheet('{{sheet.qInfo.qId}}')"
Que:
ng-click="navigation.gotoSheet(sheet.qInfo.qId)"
View solution in original post
647 Views 1 Reply Partner - Contributor 2018-02-17 05:26 AM AuthorI found the answer
For all the new ones in Angular:
Is not the same:
ng-click = "navigation.gotoSheet ('{{sheet.qInfo.qId}}')"
What:
ng-click = "navigation.gotoSheet (sheet.qInfo.qId)"
Note: Message edited by Community Moderator to add English translation as a courtesy.
- - - - -
Encontré la respuesta.
Para todos los nuevos en Angular:
No es lo mismo:
ng-click="navigation.gotoSheet('{{sheet.qInfo.qId}}')"
Que:
ng-click="navigation.gotoSheet(sheet.qInfo.qId)"
648 Views Post Reply Tags- qlik sense
- api
- extension
- mashup
- advanced analytics inte…
- Server-Side-Extensions
- sense
- qlik
- javascript
- extensions
- qrs
- qliksense
- hypercube
- qlik extensions
- qrs api
- AnyChart
- engine api
- integration
- mashups
- python
- All Forums
- Connectivity & Data Prep
- Deployment & Management
- GeoAnalytics
- Integration, Extension & APIs
- Security & Governance
- Qlik Reporting Service
- Mobile
- QlikView Administration
- QlikView App Dev
- QlikView Connectivity
- QlikView Integrations
- Qlik NPrinting
Từ khóa » N G Qvf
-
Philips Professional Luminaries Halolite NG - QVF 135 GR QVF135 ...
-
Flood Lights - Qvf 135 Manufacturer From Delhi - IndiaMART
-
Halolite NG QVF 135 GR - Banarsi Dass Enterprises - Dial4trade
-
Ét ô ét QVF Phát động Tín Hiệu... - Trái Cây Sấy Quang Vinh
-
Joli Bridal - XVC9+QVF, Nguyễn Ái Quốc, Dong Nai, Thành Phố ...
-
Filtering Ng-repeat In A Widget - Qlik Community - 134697
-
Literature Library - SterlingHVAC
-
Way Hong Chan - Q.V.F INTERNATIONAL FRUITS INC
-
Tumuklas Ng Mga Sikat Na Video Ng Lai Qvf F]lhyd | TikTok
-
Catalogue - Midas Electricals Pvt Ltd In Choolai, Chennai - Justdial
-
Fagor Commercial A16113M0073 FRONTI VER POS QVF-2 NG 220V