cancel
Showing results for 
Search instead for 
Did you mean: 

Table control does not work in JSbin

Former Member
0 Kudos

Hi Experts,

JS Bin - Collaborative JavaScript Debugging

Please see the above JSBin. Could you let me know why the above does not give any output in JSBin.

Regards,

Shashi

Accepted Solutions (1)

Accepted Solutions (1)

saivellanki
Active Contributor
0 Kudos

Hi Shashidhar,

You missed few things , it is working now http://output.jsbin.com/qicamo

Please check the code here - JS Bin - Collaborative JavaScript Debugging

Regards,

Sai Vellanki.

Former Member
0 Kudos

Hi Sai,

Could you let me know what things I missed.

Regards,

Shashi


saivellanki
Active Contributor
0 Kudos

Hi Shashidhar,

You forgot to display the view on content 'div' -


// Instantiate the View, assign a model

            // and display

            var oView = sap.ui.xmlview({

                viewContent: jQuery('#view1').html()

            });

            oView.placeAt('content');

And Property binding, you can do something like this -


<header><Text text="{/ColHeader/ColH1}" /></header>

No need to mention 'path' inside the property. I guess similar things for other properrties as well.

You can check the code for more info.

Regards,

Sai Vellanki.

Answers (0)