Skip to Content
author's profile photo Former Member
Former Member

Growing on multiple Lists/Tables with one click

Hi!

I have a few Lists on different pages (all in the same carousel). Since its a mobile app I set growing to true and growing threshold to 5. Now I want to "grow" all Lists when the updateStarted or updateFinished event is called. Whats the best way to do so?

sth like this

updateFinished: function(event) {
  for (var i = 0; i <  arrayTables.length; i++) {
  if (event.getSource() != arrayTables[i]) {
  //?
  }
  }
  },

Thanks in advance,

Julian

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 23, 2014 at 07:44 AM

    Hi Julian,

    Use the below lines inside that functions.

    GrowingList.setThreshold(n);

    (or)

    oList.setGrowingThreshold(n);

    According to your usage in code.

    where 'n' is the number of lists.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I already tried this, but this only resets the growingthreshold. I still have to click on "load more" on every list. I'm actually interested what internal function is triggered when "load more" is clicked.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.