Page 1 of 1

list autodivider value change

Posted: Mon Feb 17, 2014 10:55 pm
by Dirk Gissing

Hello,

I want to add an autodivider to my list component that gets populated via REST. When I add the autodivider the divider uses the first letter or number of the heading. The heading is filled with a date "23.01.2014". Now I want to have an autodivider which divides by the full date. Like, for example:

23.01.2014
Match 1
Match 2
etc.

24.01.2014
Match 3
Match 4
etc.

How would I be able to change the value of the autodivider.
I have already used the code provided in this topic "https://getsatisfaction.com/apperyio/..." but it doesn't show the divider anymore.

Is there a way to do this? Thank you!


list autodivider value change

Posted: Mon Feb 17, 2014 11:06 pm
by Alena Prykhodko

Hello Dirk,

Please tell us what exactly you have tried.


list autodivider value change

Posted: Mon Feb 17, 2014 11:27 pm
by Dirk Gissing

Hello Alena,

Till now I've only used the code provided on this page: https://getsatisfaction.com/apperyio/....

When I start the console it tells me that in this part: "$t.refreshScreenFormElements($.mobile.activePage.prop('id'));
Appery("eventList").find("li").eq(0).hide();
return;" $T is undefined.


list autodivider value change

Posted: Tue Feb 18, 2014 9:07 am
by Kateryna Grynko

Hi Dirk,

This example works for the old library version. You can change it or replace:pre$t.refreshScreenFormElements($.mobile.activePage.prop('id'));/preWith:preAppery("screenName").refresh();/preWhere 'screenName' is a page name.