cancel
Showing results for 
Search instead for 
Did you mean: 

SDK example 'Simple Table': how to make rows selectable?

0 Kudos

Hi all,

Experimenting with DesignStudio SDK a bit now....

Looking at the SimpleTable example. How can I implement row selection in there and giving the (concatenated) dimension back in the BIAL script?

Can someone help me ? By providing code or pointing in right direction?

Thanks!

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

mike_howles4
Active Contributor
0 Kudos

Gerben,

I went ahead and worked out a solution based on my first reply because why not

Hope this helps.

mike_howles4
Active Contributor
0 Kudos

I'd suggest not creating a TABLE element like they do with a bunch of HTML string fragments, and use the SAPUI5 API to make a table that way.  It has hooks available for on row selection and all that available for you:

https://sapui5.hana.ondemand.com/sdk/#test-resources/sap/ui/table/demokit/Table.html

Plus, the look and feel will match the themes available in DS, as the CSS rules match.