on 2020 Mar 13 6:42 AM
Hi,
Have a requirement to highlight a tile (Generic Tile) based on a value in the model at run time (on load of the page and not on any press event). I know we can use CSS file to highlight the tile which I am able to do on press event but how to invoke a javascript function on load of this GenericTile and then add CSS class to it,..is what I am not getting. Below is what I have..
<GenericTile>
<tileContent>
<TileContent>
<Linktext="{path: 'oModel>Description'}"></Link>
</TileContent>
</tileContent>
</GenericTile>
Request clarification before answering.
Dear Venkata
Can you try the Generic tile as a KPI - which has some colour and indicator to highlight as below:
Refer to valueColor, Indicator
<GenericTile class="yourcssclass" tileLayout" header="Country-Specific Profit Margin" subheader="Expenses" press="onPress">
<TileContent unit="EUR" footer="Current Quarter">
<NumericContent scale="M" value="1.96" valueColor="Error" indicator="Up" withMargin="false" />
</TileContent>
</GenericTile>
Regards,Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
11 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.