Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Growing Feature for sap.m.ViewSettingsDialog #1318

Open
didierbueno opened this issue Jan 26, 2017 · 15 comments
Open

Growing Feature for sap.m.ViewSettingsDialog #1318

didierbueno opened this issue Jan 26, 2017 · 15 comments

Comments

@didierbueno
Copy link

OpenUI5 version:
1.42.8

Browser/version (+device/version):
Any

Steps to reproduce the problem:

  1. Create a Settings Dialog with ViewSettingsFilterItem
  2. Bind a Gateway EntitySet to the items aggregator of ViewSettingsFilterItem
  3. If EntitySet have more than 100 results only first 100 will be shown. There's no growing feature like in Facet Filters

What is the expected result?
Need to show more than 100 results (like in Facet Filters)

@hristop
Copy link
Contributor

hristop commented Jan 26, 2017

Hi @didierbueno ,

Thank you for reporting this issue.

I believe that the problem is in the model itself - you can set the size by the "setSizeLimit" property (you can check it here: https://sapui5.hana.ondemand.com/#docs/api/symbols/sap.ui.model.Model.html#setSizeLimit

The default limit is set to 100 as described here:
https://sapui5.hana.ondemand.com/#docs/api/symbols/sap.ui.model.html

If this does not solve you problem - feel free to reopen the issue.

Best Regards,

Hristo

@hristop hristop closed this as completed Jan 26, 2017
@didierbueno
Copy link
Author

Hello @hristop

Is not a model problem, my EntitySet is huge and I can't set model sizeLimit property to 10000 (is the same model for all my entities). We just need to add the paging feature to the ViewSettingsDialog items lists (growing and growingThreshold).
We are using SAPUI5 and Netweaver Gateway for oData.
Best regards,
Didier

@hristop
Copy link
Contributor

hristop commented Jan 26, 2017

Hi @didierbueno ,

In this case we have opened internal incident: 1780068253.

Best Regards,

Hristo

@tdniksfsap1 tdniksfsap1 reopened this Jan 31, 2017
@tdniksfsap1 tdniksfsap1 self-assigned this Feb 3, 2017
@jonaszuberbuehler
Copy link

@didierbueno We're facing the same issue. As a workaround for now we simply bind the items with length=<bigger_than_actual>, i.e. items="{path: '/EntitySet', length: 1000}. Not perfect but at least we get all entities.

@DerGuteWolf
Copy link

Yes, but unfortunatly this lenght parameter is nowhere docuemented, cf. #1607

@jonaszuberbuehler
Copy link

@DerGuteWolf
Copy link

Only sort of, since it is not clear if you can use all these parameter with all models and all aggregations IN BINDINGS eg in XML Views.
It's neither mentioned in https://sapui5.hana.ondemand.com/#docs/guide/91f057786f4d1014b6dd926db0e91070.html nor in https://sapui5.hana.ondemand.com/#docs/guide/6c47b2b39db9404582994070ec3d57a2.html

@jonaszuberbuehler
Copy link

You're right. I'm kinda used to the trial & error approach when working with UI5. An improvement of the docs would be good.

@didierbueno
Copy link
Author

@jonaszuberbuehler Thanks. As you said, is a workaround, but is not a final solution for our problem. We have more than 10000 rows and I don't want to sacrifice performance.

@didierbueno
Copy link
Author

Hi, the incident have been solved. See SAP Note here:
https://launchpad.support.sap.com/#/notes/2514509

@DerGuteWolf
Copy link

Hi @didierbueno ,
with which OpenUI5 version is this solved in which way? The note you linked only lists changes in some apps...
Thanks,
DerGuteWolf

@didierbueno
Copy link
Author

I haven't found the solution on OpenUI5 Change Log, as you said it seems to be solved on specific apps, so I'm reopening the incident.

@RubensCesarPereira
Copy link

Has anyone managed to solve this problem?

@Juliomor
Copy link

Hello,

Any update on this? Any solution?

Thanks and regards!

@mrtwinkler
Copy link

Any proper solution to this? We are also facing the same problem: Having a list of 5.000 filter items which is freezing the UI on slower machines for 10 seconds at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants