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
Highlighted
Regular Contributor
Posts: 77
Registered: ‎06-13-2013
My Device: 9900
My Carrier: blackberry cure
Accepted Solution

How to make table view dynamically in jquery moible

Hello

 

can you please tell me how to make table view dynamically in jquery mobile.?

please provide some example 

Contributor
Posts: 35
Registered: ‎09-15-2012
My Device: AT&T Torch 9810
My Carrier: AT&T

Re: How to make table view dynamically in jquery moible

[ Edited ]

This isn't exactly jquery mobile forums however you may be able to use JQM's tables to accomplish what you seek. See docs http://api.jquerymobile.com/table/

This widget might support dynamic refreshing( i.e. page.trigger('create') ) but i'm not 100% sure.

Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: How to make table view dynamically in jquery moible

You need dynamic insertion - it's not hard

 

Basically you create an empty DIV then fill it up

 

So - suppose we have the following..,

 

<div id="fred"></div>

 

JQuery allows us to insert something we want in the DIV

 

 For example $('#fred'),html('Hello World') gives us this

 

<div id="fred">Hello World</div>

 

Most of the code I write is sinply DIVs manipulated by JS to inject the cool suff




Click the like button if you find my posts useful!
New Developer
Posts: 12
Registered: ‎06-17-2013
My Device: Blackberry 9800
My Carrier: Reliance

Re: How to make table view dynamically in jquery moible

Hi Q3test,

Check this link below
http://hippieitgeek.blogspot.se/2013/01/creating-dynamic-tables-with-jquery.html

Hope this will help you.

Thanks & Regards,
Nitish
Blackberry and PhoneGap Developer

------------------------------------------------------------------------------------------------
- If a post contains the solution to the problem, please click "Accept as Solution"
- If a post contains helpful content, please give it a "Thumbs Up"