Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

QlikSense2.2 Extension How to pass parameter to html layout

hi Guys,

Since ANjularjs Introduction, i am having some trouble in passing Parameters to The Html Template.

var txtTop = {
ref: "propstxtTop",
label: "Top",
type: "string",
    defaultValue: "350"
};

Now i want to use use that Value into the template found in template.ng.html

Currently i have this which is working fine

<div qv-extension>

    <b ng-bind="myTitle" />

    <table border="1">

        <thead>

        <tr>

            <th ng-repeat="dim in layout.qHyperCube.qDimensionInfo" ng-bind="dim.qFallbackTitle" />

            <th ng-repeat="mea in layout.qHyperCube.qMeasureInfo" ng-bind="mea.qFallbackTitle" />

        </tr>

        </thead>

        <tbody>

        <tr ng-repeat="row in layout.qHyperCube.qDataPages[0].qMatrix">

            <td ng-repeat="col in row">

                {{col.qText}}

            </td>

        </tr>

        </tbody>

    </table>

</div>

BUT WHEN I WANT TO ACCESS THE DATA IN MY propstxtTop.. i cant..

Any one can help me ??

0 Replies