Page 1 of 1

listitem read only

Posted: Fri Mar 07, 2014 1:58 pm
by Dirk Gissing

Hello,

How can I give a listview item readonly option? I've checked the jquery mobile documentation, but it doesn't seem to help.

Please advice, thank you!


listitem read only

Posted: Fri Mar 07, 2014 2:28 pm
by Nikita

Hello,

It's not clear, what do you mean by "listitem read only"? How can you change this listitem?


listitem read only

Posted: Fri Mar 07, 2014 5:06 pm
by Dirk Gissing

Hello Nikita,

I mean 'readonly' in the sense that you can't click on it. Because now I have listitems that are populated by an API via RESTservice, but the listitem is clickable. And I want the listitem not to be clickable, because it's just data.

Thank you!


listitem read only

Posted: Fri Mar 07, 2014 7:26 pm
by Maryna Brodina

Hello! Add for list or list item class ui-disabled


listitem read only

Posted: Sat Mar 08, 2014 6:14 pm
by Dirk Gissing

Hello, this works but now the list is transparant. I don't want that. I want to use the listitem readonly option from jquery mobile, but it doesn't seem to work.


listitem read only

Posted: Sat Mar 08, 2014 8:17 pm
by Dirk Gissing

I found out what the problem is: you have to remove the code<a></a>/code tag within the list. But you can only do this in the source editor. Do you know another way to do this, without editing the source?


listitem read only

Posted: Mon Mar 10, 2014 5:16 am
by Illya Stepanov

Hi Dirk,

If you want to remove code<a>/code tag just put in your list-item (in design mode) label. And use this label to populate the content you need.

After these manipulations your list item wouldn't have a code<a>/code tag.


listitem read only

Posted: Mon Jun 16, 2014 11:01 am
by Peter LPunkt

Hi there, i want to do the same thing for single listitem entries.

Maryna, can you tell me how exactly to add "ui-disabled" to the listitem in builder. Via "More Properties" - attribute: ui-disabled value:true or custom JS?

Thanks


listitem read only

Posted: Mon Jun 16, 2014 3:15 pm
by Maryna Brodina

Hello!

Not that way...
Please take a look here http://devcenter.appery.io/documentat...