cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help in Tile Format

Former Member
0 Kudos

Hi Friends

In My project i came across one requirement ..can you please help on this as soon as possible

Below image is a one tile ...i work on it but i am unable to get two values(^ 88.5) up and Down in Generic tile

Could you suggest how to achieve this requirement{sample code please }

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

share generic tile code

Former Member
0 Kudos

Hi Aasif,

here

my code :

<GenericTile xmlns="sap.suite.ui.commons"

                                                header="Guy Incognito mentioned you in Sales Pitch March:"

                                                size="M"

                                                frameType="TwoByOne"

                                                headerImage="mezzan/images/red-arrow.png"

                                                >

                                                <tileContent>

                                                  <TileContent>

                                                    <content>

                                                       <NumericContent value="431,621.5" scale="MM" indicator="Up" size="M" truncateValueTo="20" valueColor="Error" width="100%"/>

                                                    </content>

                                                  </TileContent>

                                                  <TileContent xmlns="sap.suite.ui.commons"

                                                    busy="false"

                                                    busyIndicatorDelay="1000"

                                                    visible="true"

                                                    footer=""

                                                    size="M"

                                                    unit=""

                                                    disabled="false"

                                                    frameType="Auto"

                                                    >

                                        <tooltip></tooltip> <!-- sap.ui.core.TooltipBase -->

                                        <dependents></dependents> <!-- sap.ui.core.Control, since 1.19 -->

                                        <content>

                                       

                               

                                 <NumericContent     size="S" value="65.5"

                                                     scale="MM"

                                                     valueColor="Good"

                                                     indicator="Down"

                                                     state="Loaded"

                                                     class="tiny"

                                                     press="press"

                                                     height="20px"/>

                                                    

                                                    

                                 <NumericContent     size="S" value="88.5"

                                                     scale="MM"

                                                     valueColor="Good"

                                                     indicator="Up"

                                                     state="Loaded"

                                                     class="tiny"

                                                     press="press"/>

                                                                          

                                </content>

</TileContent>          

                                                 </tileContent>

                                              </GenericTile>

Former Member
0 Kudos

Hi Aditya,

I saw your code,

1. In first numericContent no operation is applied.

2. In Second numericContent you are able to change any state.

may be below link can help for you for numeric Content  Design.

for numericContent you can use this link :  SAPUI5 Explored

Former Member
0 Kudos

Hi Aasif

i Alredy tried this one .But i am unable to get exact result [as shown in image]

Former Member
0 Kudos

Hi Aditya ,

I also tried, may be generic tile support single numericContent. If yopu use two different tile it will work properly.

Former Member
0 Kudos

K Thank You Aasif..i will try another way

Former Member
0 Kudos

suggestions plese