Skip to Content
0
Former Member
Nov 10, 2016 at 04:47 PM

Design Studio 1.6 - Changing grid_layout dinamically (# rows or columns) basing on device

175 Views

how can i change grid_layout number of column, and rows dinamically basing on device used (e.g. @media tag).

I find out this interesting javascrpit code:

http://stackoverflow.com/questions/2117320/set-maximum-displayed-rows-count-for-html-table

but i'm not able to adapt for SAP Desgn Studio 1.6 SP3:

The parenNode tag seems not be recognize.

"ALL_GRIDS" is the name of my table to be adpated.

How can i adapt it? There is any alternative?

Best regards

Marco

Attachments

code-table.png (13.0 kB)