Skip to Content
-1

UI5 table design thinking

Nov 21, 2017 at 12:52 PM

79

avatar image

Hi,

How can I store below table whereby the user able to maintain the data without changing the table structure in backend. For example, populate new browser as new column and number as its item.

How do I render this table as Odata service in order to be consumed in sapui5 whereby each row might have empty value/cell?

Thanks.

Regards,

-Ben-

11.png (23.0 kB)
10 |10000 characters needed characters left characters exceeded

Hi Nabi Zamani,

I've come across your profile and noticed you are experienced developer in UI5. Could you assist me on this design?

Thanks.

Regards,

-Ben-

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Arjun Biswas Dec 05, 2017 at 04:31 AM
0

Hi Yen Shen, Ben Lim,

Based on what I understand from your requirement, we have the sap.ui.Device library to detect the client's device. You can detect the device in the component file itself and send the data to your odata.

At your odata, you can create different fields for different browsers and whenever your clients browser is detected, in the CREATE_ENTITY, you can increment the browser count.

Regards,

Arjun Biswas

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Arjun Biswas,

Appreciate your reply.

Sorry for my question is not clear. My requirement is not to detect client's device.

My requirement would have something like this. User will maintain below table in backend.

Row 1 Column 1, the item is IE but there is no version. So output blank.

Row 1 Column 4, the item is CHROME and version is 49. So output at Row 1 Column 4 as 49 under Chrome column.

How could I render this table maintenance to output as per the layout shown? It could be the case whereby there is a merging of table data horizontally or vertically across cell.

Thanks.

Regards,

-Ben-

55.png (7.6 kB)
0