Page 2 of 2

List items with labels, images or grids are styled as read only.

Posted: Tue May 14, 2013 10:01 pm
by Shawn Clabough

Thanks. I also found that I needed to put the script in the DataSource-Complete event since I was loading my list dynamically.


List items with labels, images or grids are styled as read only.

Posted: Wed Jun 05, 2013 7:55 am
by aviz

the mouse over and onclick effect still does'nt work.. can i know the classes to be added to get the tapped feel


List items with labels, images or grids are styled as read only.

Posted: Wed Jun 05, 2013 8:37 am
by Maryna Brodina

Hello! You can add your own class for component or check the source using Chrome Developer Tools/Firebug - this should help http://docs.appery.io/documentation/a...


List items with labels, images or grids are styled as read only.

Posted: Tue Apr 01, 2014 3:32 pm
by Kapow36

The way it is done in actual code is to wrap the child elements of a list item in a hyperlink tag with href="#". Is there any way to accomplish this that way?


List items with labels, images or grids are styled as read only.

Posted: Wed Apr 02, 2014 1:41 am
by Igor

If you want wrap inner list item elements with code<a href="#"></a>/code you can use following code:
pre
code
Appery("mobilelist_64")&#46;find("&#46;ui-li-static-container")&#46;wrap("<a href='#'></a>");
/code
/pre
Where "mobilelist_64" - list name.

Or you could use below code instead of yours:
pre
Appery("mobilelist_64")&#46;find("&#46;ui-li-static")&#46;removeClass("ui-li-static")&#46;addClass("ui-btn")
/pre


List items with labels, images or grids are styled as read only.

Posted: Thu Apr 02, 2015 1:16 pm
by EJLD

hi there ! how you guys doing ?
i've got a item list with an img component inside each item.
the image can be a file among 2 uploaded in the MediaManager.
how do you att'd the fileName to the element ?
i tried several :
this.src = Appery.getImagePath('fileName');
this.attr('src', Appery.getImagePath('fileName');

none of them works. I mean none of them shows the image. any idea ?
thks in advance,
Eric


List items with labels, images or grids are styled as read only.

Posted: Fri Apr 03, 2015 7:56 am
by EJLD

Hi There, forget about this one. I found how to make it works:

path = Appery.getImagePath('fileName');
return path;

very simple indeed :)
hv a good Easter wknd!

Eric


List items with labels, images or grids are styled as read only.

Posted: Fri Apr 03, 2015 12:03 pm
by Egor Kotov6832188

Hello Eric,

Yes, this code snippet was used on this forum several times, we glad it worked for you.
Thank you for update.
Happy holidays to you too!