Hi,
I am a beginner in SAP UI5 development. I developed a simple custom application, which consumes odata, and displays it.When I set the tables visible rowcount equal or less than odata contents it works fine displaying all records.However when I set visiblerowcont greater than the odata contents,it just shows the first set of records and when I try to navigate to second page , it doesnt show up and it remains as it was loaded for the first time.
Later when i added a event( custom toolbar button) and added a event to it, it doesn't trigger that particular event, although it shows up the button.
I get the following error ,on the browser console in both the cases.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; CWADS32; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; MS-RTC LM 8; .NET4.0C; .NET4.0E)
Timestamp: Mon, 3 Nov 2014 08:32:23 UTC
Message: DOM element with ID 'content' not found in page, but application tries to insert content.
Line: 134
Char: 183914
Code: 0
URI: http://xxxxxxxxxxxxxxxxx/sap/bc/ui5_ui5/sap/z******/resources/sap-ui-core.js
I suspect that for the first time it loads fine and afterwards any events/actions or not being triggered or activated.
Please correct me what went wrong that during the coding.
Regards,
Madhav.