Skip to Content
0

How to make a generic tile selected by default while loading application

Jan 20, 2017 at 05:19 AM

36

avatar image

Hi Experts,

I am a developing a UI5 application .

I have used 3 Generic tiles , and i need to make first tile as selected by default while loading application.

<GenericTile id="Open" class="sapUiMediumMarginBegin sapUiTinyMarginTop tileLayout tilecoloractive" header="Open" subheader="Quotes"
	frameType="TwoByOne" press="onPressOpenQuotation">
	<tileContent>
		<TileContent unit="" footer="">
			<content>
				<NumericContent id="openQuotesNumConID" icon="sap-icon://course-book"/>
			</content>
		</TileContent>
	</tileContent>
</GenericTile>
<GenericTile class="sapUiMediumMarginBegin sapUiTinyMarginTop tileLayout" header="Completed" subheader="Quotes" frameType="TwoByOne"
	press="onPressCompletedQuotation">
	<tileContent>
		<TileContent unit="" footer="">
			<content>
				<NumericContent id="completedQuotesNumConID" icon="sap-icon://complete"/>
			</content>
		</TileContent>
	</tileContent>
</GenericTile>
<GenericTile class="sapUiMediumMarginBegin sapUiTinyMarginTop tileLayout" header="LOST" subheader="Quotes" frameType="TwoByOne"
	press="onPressLostQuotation">
	<tileContent>
		<TileContent unit="" footer="">
			<content>
				<NumericContent id="lostQuotesNumConID" icon="sap-icon://action"/>
			</content>
		</TileContent>
	</tileContent>
</GenericTile>

Can anyone please suggest a solution for this ??

Thanks,

Sandeep

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Krishna Kishor Kammaje
Jan 20, 2017 at 04:13 PM
0

Sandeep,

You need to use routing concept in UI5. Each generic tile's target should be a route. And the default tile's target is going to be the default route.

Share
10 |10000 characters needed characters left characters exceeded