Skip to Content

Dynamically set Grid properties (columns/rows) ?


I am trying to establish dynamically the number of columns and rows of a given grid components. I have been considering 2 approaches:

     - DS Components API

     - Grid component properties databinding

Any of 2 options seems to be feasible (no methods on API; greied Property Binding)

Someone has an idea of achieving this goal if possible?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 02, 2015 at 01:53 PM

    Hello Alfons,

    Why would you require to change the number of rows and columns ?

    I I am asking because I wanted to dynamically generate components in DS, and therefore, using a dynamic grid, with dynamic placement would have been great.

    Unfortunately, DS does not support this feature as of now if I am not mistaken. Only some configurable components do.

    I think there is now way to do that. A better bet would be to check Responsive design using CSS and Relative positioning (using Float). This way, you can achieve a "fiori" look and basically have a dynamic table in you DS application.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Mike,

      I completely agree your point of view. The last question is exactly the one that I have used in my company to justify the use of these components to rebate tcriticisms about potential "isssues" in the future.

      Let me take the chance tof acknowledge your contribution and effort to the development of this components.