cancel
Showing results for 
Search instead for 
Did you mean: 

Horizontal Layout Feature to place 2 buttons side by side in a Section page in SAP MDK

0 Kudos
700

Hello MDK- Experts,

Good Day!

Need some guidance from your end.I am building an offline application using MDK.
I have a certain requirement that there should be two buttons should be placed side by side in a page.I am using a Section Page.I tried using Grid Row Item(Section Grid Table),Static Key Value(Key Value Item).But when i try to check in my devices it shows one after another i want to view two buttons side by side similary like using a HBOX tag and placing two buttons in a horizontal manner in SAPUI5. The customer will be using devices ranging from 5.5 to 6.5 inches.

Can you kindly help me and provide any refrence or code snippets.

Thanks,

Arka Basu

Accepted Solutions (0)

Answers (2)

Answers (2)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

arkabasu8974

Regarding extension control references, please look at our tutorials.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

We don't currently have this layout available in MDK. We have had a similar request previously and have it on the backlog for a possible future release.

In the meantime,, you would need to create an extension control to create a view with the multiple buttons side by side. You should be able to create it as a metadata extension so it can be used in any client.

0 Kudos

Thanks Bill for the information.
My current approach is to use Segmented Button in the Form page at least 2 buttons can be placed side by side.And i believe there is a process on live press change event on anything like that or a rule can be setup based onPress event.

Also is there any reference doc or any helpful blogs to create extension control just to give an idea to take it forward with such scenarios.It will be very helpful.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Starting with MDK 6.3 we now support a new horizontal layout option for Button Table to support side by side buttons.