Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
New Developer
Posts: 11
Registered: ‎06-27-2014
My Device: Z30
My Carrier: Vodafone
Accepted Solution

Render QListView as HTML ?

Is there a possibility to render the ListView Object as HTML ?

 

I have a working GroupDataModel, but i would like to receive a HTML output of it.

If not available, is there any kind of smaple, where i can iterate by myself through a GroupDataModel to generate this HTMLListView behaviour ?

Developer
Posts: 49
Registered: ‎05-31-2013
My Device: Z10, Passport

Re: Render QListView as HTML ?

Can you show a sample data model here? Should be no problems converting a basic gdm to html string using C++/QT. The result should be something like an unordered html list right?

New Developer
Posts: 11
Registered: ‎06-27-2014
My Device: Z30
My Carrier: Vodafone

Re: Render QListView as HTML ?

the datamodel is quite simple, just like the addressbook sample. (https://github.com/blackberry/Cascades-Samples/tree/master/addressbook)

Extending is not the problem, its just : howto start ;-)
Developer
Posts: 49
Registered: ‎05-31-2013
My Device: Z10, Passport

Re: Render QListView as HTML ?

[ Edited ]

You can format/sort in different ways. Check please attachments and let us know.

New Developer
Posts: 11
Registered: ‎06-27-2014
My Device: Z30
My Carrier: Vodafone

Re: Render QListView as HTML ?

Thanks for the sample. It´s enough to enhance.