AnsweredAssumed Answered

How could you implement paging with a template component?

Question asked by Dan Keeley on Mar 16, 2018
Latest reply on Mar 26, 2018 by Dan Keeley

Hi all, this is a good Friday afternoon giggle..


We have a couple of use cases where we want to use the template component, but also want to utilise CDA paging.  (Essentially we want to be able to set pageSize and pageStart in our app)


It appears this is not possible out of the box, is there some workaround to do it, or will we have to write some custom jquery code to do the CDA call manually, and implement the template from scratch?  (As we won't be able to utilise the component itself)


I wondered if I could get away with sending pageSize as a parameter, btt that won't work because it gets renamed to parampageSize of course!


If this can be done it's a really cool feature. I do like the template component, it's amazing what you can build with it.