Number of records in List view

0
 Hi Community,   I am using List view and the number of records displayed on the list will be set from the backend. How can I set it from the frontend? (The page size which is set from backend, I want it from frontend)   Thanks and Regards, Harshraj Singh
asked
2 answers
0

There is no easy way to do this.

 

You could create a helper object where the user can enter the amount. If you set this amount, trigger a data source microflow that retrieves the data with the limit filled from the helper object.

 

Again, this isn't a nice solution, but it should work.

answered
0

You need a way to access the API and then change it. one option could be to go with mendix client api using html widget or javascript action but I think the API is changed as I faced issue in accessing the listview. 

 

https://docs.mendix.com/apidocs-mxsdk/apidocs/client-api/

 

 
// Get the list view widget
var listView = dijit.byId("ListView1");

// Set the page size to 20
listView.setPageSize(20);
 

 

answered