on 08-29-2014 6:18 PM
Hi,
I have created sap.m.Table and bind Odata service with the help of bindAggregation function. but the table output shows duplicate entry on each original entry.
But i have tested Odata service and shows correct entries only.
Please advise to me, how to solve this issue.
Regards
Ganesh Babu
It's also worth checking id's in your odata service, you can get duplicate entries if there it's a unique key.
Regards,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And post the code of your binding
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Run Dev tools (Chrome - Ctr+Shift+I, IE - F12) and see your odata traffic to ensure it has unique values
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1 - Put an external breakpoint into your Data Provider Class and check if it is not called twice.
2 - Use the JavaScript Console to check the Model content before the Binding operation, check if the data is duplicated into the Model.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.