Skip to Content

Is it possible to have headers row wise in sap.m.table instead of column headers ?

Hi,

Can you share an example in XML view that will hide column header in sap.m.table and display only the data ? My requirement is to display a 4 x 2 table where first column will have hardcoded texts acting as header and second column will contain respective data.

Thanks,

Janani

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 06, 2017 at 06:18 AM

    Hi Janani,

    If number of records to be displayed in this table are not fixed then it is somewhat hard to achieve using only table approach. In such case please try to find alternate controls like ListBase and displaylistitem.

    Where you can display data as below:

    https://demo.cloudportal.sap.com/sap/ui5/1/explored.html?sap-locale=ja&sap-ui-calendarType=Japanese#/sample/sap.m.sample.DisplayListItem/preview

    Thanks,

    Den

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 05, 2017 at 06:16 PM

    have you tried 'popin' feature for the column?, this might work.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 06, 2017 at 04:58 AM

    Hi Janani,

    Please go through following link, this might help.

    https://archive.sap.com/discussions/thread/3611874

    Thanks,

    Den

    Add comment
    10|10000 characters needed characters exceeded