Skip to Content

How may I disable resize property of cards retaining custom width in overview page ?

Hi Experts,

Our application needs a custom card which looks like a header. So the requirement is to disable the resize property retaining the card width as 100% width of the screen.

Tried to do it with the following code.

"sap.ovp": {

...

"containerLayout": "fixed",

...

}

But the issue with this property is it allows each card to have 1 card size.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 27, 2018 at 01:42 PM

    Hi Ranjeeta,

    You can use the resizable layout as rowspan and colspan works in resizable layout. To stop resize of the card by the end user, you can use “stopResizing” property of card setting and set it to true.

    You can read more about it at Here

    Hope this helps :)

    Thanks and Regards

    Ashish

    Add comment
    10|10000 characters needed characters exceeded