Shawn Clabough
Posts: 0
Joined: Wed May 08, 2013 8:47 pm

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

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

aviz
Posts: 0
Joined: Fri Dec 14, 2012 6:37 am

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

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

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

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...

Kapow36
Posts: 0
Joined: Thu May 23, 2013 4:07 pm

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

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?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

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

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

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

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

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

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

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

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

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

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

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!

Return to “Issues”