cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Pagination Widget for Collection Widget

Socka_HW
6-Contributor

Pagination Widget for Collection Widget

I have a collection widget whose data items are that of a Mashup (with data tied to an Infotable (with 5 attributes)).

When the page is loaded, I am able to call a service to populate the said infotable, and render the tiles of information (instead of a grid) within the collection widget....! With the volume of data items being presented, I was hopeful in introducing a filter (chip-based filter, for example)... but am not seeing any supporting articles around my use case. Are filters (or pagination) not possible (current OOTB state) for data items presented in a collection widget?  

ACCEPTED SOLUTION

Accepted Solutions
Bikash_Panda
13-Aquamarine
(To:Socka_HW)

If I understand correctly, you can use a chip based filter or even pagination widget bind it with needed inputs to the service populating the collection. You can cache the applied filter for better performance, On change of filter or page you can invoke the service.

 

If your data is coming from Mashup parameter, and you dont have control on source, may be you can create a buffer service, that will take the infotable, apply filter or pagination on that infotabel adn return the resul, which then can be bound to the collection.

View solution in original post

4 REPLIES 4
Socka_HW
6-Contributor
(To:Surya_Tiwari)

Surya_T,

I have perused the referenced articles (posted in response to another (earlier Q) and unfortunately DO NOT apply to my stated use case. 

Bottom line... i need assistance on filtering on or paginating data presented as tiles in a collection widget.

thank you...

Hello, generally it would be easier to implement such filtering logic on the server side. In this case, the values of your chips or the page number is passed to the backend as service parameters. Every time you click a chip or change the page, it triggers the service, which only returns what you need to see on the screen. As far as I know, none of that is available out of the box as a standard feature of Collection widget, so you'd need to "manually" put all those filter widgets on your mashup, bind their values with the service parameters and make sure the service is executed every time those filters change.

Bikash_Panda
13-Aquamarine
(To:Socka_HW)

If I understand correctly, you can use a chip based filter or even pagination widget bind it with needed inputs to the service populating the collection. You can cache the applied filter for better performance, On change of filter or page you can invoke the service.

 

If your data is coming from Mashup parameter, and you dont have control on source, may be you can create a buffer service, that will take the infotable, apply filter or pagination on that infotabel adn return the resul, which then can be bound to the collection.

Announcements


Top Tags