Skip to Content

Tiles are not rendering when put inside Grid

Hi Experts,

I am trying to render StandardTile in a Grid, but due to some reason it's not working. however, it works when I remove the Grid & Panel from my code. Can anyone point out what exactly am I doing wrong here?

<code>	<mvc:View xmlns:mvc="sap.ui.core.mvc"
		xmlns:core="sap.ui.core" xmlns:l="sap.ui.layout" xmlns="sap.m"
		<Page showHeader="false" enableScrolling="false">
			<Toolbar class="sapUiTinyMarginTop" id="toolbar1" height="10%">
				<ComboBox id="SidCombo" width="11.5%" showSecondaryValues="true"
						path: '/results'
					}" selectionChange="SidSelect">
					<core:ListItem key='{Key}' text='{Sid}'
						additionalText='{Template}' />
				<Text id="TemplateText"></Text>
				<Text id="SltText"></Text>
				<ToolbarSpacer />
				<Button id="UserName" icon="sap-icon://kpi-managing-my-area"
					enabled="false" type="Transparent" />
			<Panel width="auto" class="sapUiResponsiveMargin">
					<TileContainer id="container"
						width="100%" height="100%" visible="true" tileDelete="handleTileDelete"
						<StandardTile icon="{icon}" type="{type}" number="{number}"
							numberUnit="{numberUnit}" title="{title}" info="{info}"
							infoState="{infoState}" press="handleTilepress" />
						<l:GridData span="L12 M12 S12" />
					<ToolbarSpacer />
					<Button id="editbutton" text="Edit" press="tilePressed" />
					<ToolbarSpacer />
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 23, 2017 at 09:31 PM

    Tile in grid should work, can you remove the panel? Or do you need it? Here example grid and tiles:

    Add comment
    10|10000 characters needed characters exceeded