HTML5 Data Bindings Support Product Page


setting max results in real time

Asked 18 Jan 2016 13:12:31
has this question
18 Jan 2016 13:12:31 Hans Haverlach posted:
there is a repeat region on my page showing 20 results. There are paging controls for next, prev, first and last. All is working well.

But I want to let the user add a preference number of showing how many results on a page. When he adds it, the databindingssource must be refreshed and the NEW number of results are to be showed.

How do I get this basicfunction to work?


Replied 19 Jan 2016 11:59:12
19 Jan 2016 11:59:12 Hans Haverlach replied:
OK, via live support got the answer. I can use a inputfield to let the user add a number. I then edited my extended repeat region and used the lightning bold to let the pagesizefield use the value of the inputfield.
With an onblur listener on the inputfield I refresh the datasource.
It works fine

Reply to this topic