Skip to Content
author's profile photo Former Member
Former Member

Uncaught TypeError: Cannot read property 'Single' of undefined

Hi guys,

i am facing below issue when i am using below mentioned code.can any one help me

http://scn.sap.com/docs/DOC-46156How to create a simple table with JSON object in SAPUI5 from the scratch

At line:

selectionMode: sap.ui.table.SelectionMode.Single,

error:

Uncaught TypeError: Cannot read property 'Single' of undefined

Best Regards

Shiva

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 30, 2015 at 04:24 PM

    Hi Shiva,

    Did you include 'sap.ui.table' in your bootstrap like below -

    <script id="sap-ui-bootstrap"
       type="text/javascript"
       src="https://sapui5.hana.ondemand.com/1.28.8/resources/sap-ui-core.js"
       data-sap-ui-theme="sap_bluecrystal"
       data-sap-ui-libs="sap.ui.commons,sap.ui.table">
       </script>
    

    Regards,

    Sai Vellanki.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.