Skip to Content
avatar image
Former Member

How to make a grid with images inside?

Hello everyone,

I'm trying to develop a SAPUI5 application that shows a collection of images with their titles in a grid layout.

I've tried the following:

  1. Using sap.ui.layout.Grid in combination with HBox wrapping an sap.m.Image and an sap.m.ObjectIdentifier
  2. Using a Grid in Combination with CustomTiles/GenericTiles
  3. Using a Grid with ImageContents

But nothing of that brought pleasing results... I am looking for something like this:

How can I achieve a Grid like this in UI5?

kind regards,

Marvin

grid.jpg (76.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 04 at 03:00 PM

    Hi,

    If you don't like the second option you tried, I would look for some external lib to get this done (e.g. this one). Of course, you'd need to choose the best fitting one to your needs (licensing wise, API, ease of integration to SAPUI5 framework etc.).

    Add comment
    10|10000 characters needed characters exceeded