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

Web and WebWorks Development

Reply
Developer
Posts: 777
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

How to show data in table using array of object.

Hi

 

I have array of objects . i want to show data of all objects in table on run time.can anbody give me some solution.

 

Please help

 

 

Thanks

 

Developer
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: How to show data in table using array of object.

this might help you 

 

http://supportforums.blackberry.com/t5/Java-Development/Create-a-rich-UI-layout-with-TableLayoutMana...

 

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Developer
Posts: 777
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

Re: How to show data in table using array of object.

Hi i am using phone gap technologies in which i used java script.so i have having array of (object) web service response . i want to show  this in table using javascript or jquery actually i don't know much about jquery ..please help.

 

 

Thanks

Trusted Contributor
Posts: 166
Registered: ‎12-09-2011
My Device: 9550,9300,9800,9700,9900,9850,9860

Re: How to show data in table using array of object.

Hi,
Declare table data(TD) in side a for loop and pass the value inside the for loop.
Hope this will solve the problem.. 

Thanks & Regards,
Nitish Subudhi

Feel Free To Press The Like Button On The Right Side To Thank The User That Helped You.
Please Mark Posts As Solved If You Found a Solution.
Trusted Contributor
Posts: 166
Registered: ‎12-09-2011
My Device: 9550,9300,9800,9700,9900,9850,9860

Re: How to show data in table using array of object.

Can you post the code which you are using.
The information you have given is less to understand. Please explain more about the issue. 

Thanks & Regards,
Nitish Subudhi

Feel Free To Press The Like Button On The Right Side To Thank The User That Helped You.
Please Mark Posts As Solved If You Found a Solution.
Developer
Posts: 777
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

Re: How to show data in table using array of object.

.Hi solve this problem in blackberry ,can you give me some example of scrollable list in android which make at run time( after getting respone from web sevice).Please share some code.

 

 

Thanks

Developer
Posts: 322
Registered: ‎08-06-2012
My Device: Dev Alpha / Playbook / Curve 9300

Re: How to show data in table using array of object.

Sorry Kamal this forum is for web (html5 / Javascript) and webworks (the compiling thereof).  I think he's looking for an example of something HTML5 with script like...

 

This is a tutorial on using jquery to comsume web services:

http://encosia.com/using-jquery-to-consume-aspnet-json-web-services/

 

jQuery and jQuery Mobile can be used on most phone platforms.  It might help.

If it helped you, click like. Smiley Happy
Highlighted
Developer
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: How to show data in table using array of object.

Yes. Mistakenly I have pasted that link. Smiley Happy

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.