on 11-21-2017 12:52 PM
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-
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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-
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.