BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 07-06-2011, 09:53 AM   #1 (permalink)
New Member
Join Date: Jul 2011
Model: 8900
Carrier: Vodafone
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Post How to create table view in Blackberry 4.6

Please Login to Remove!

I need to create a table with 3 rows and one column in Blackberry 4.6 similar to the attachment with this thread. I need to include String Objects and GaugeField Object in each row with focus in each row so that when a click is made anywhere inside the row, a event should occur. I used a ObjectListField to implement this. The set(Object[]{obj1,obj2}) method in ObjectListField considers all objects as String and so printing Gaugefield Object (prints some string instead of a progress bar) becomes a problem. And moreover, each object occupies my separate row. Using Set(Object[]{obj1+obj2}) allows me to print contents on same row leading to layout problem.

Could someone help me how to create this structure as seen in the attachment in BLACKBERRY 4.6?
Attached Images
File Type: png 06-07-2011 6-59-46 PM.png (54.8 KB, 18 views)
Old 07-12-2011, 01:35 AM   #2 (permalink)
New Member
Join Date: Apr 2011
Model: 8900
Carrier: Airtel
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: How to create table view in Blackberry 4.6

Take a class for table say Table , extend ListField.
Design every row in a seperate class say TableRowManager by extending Manager class , In TableRowManager , in sublayout method ,place the fields using layoutChild and setPositionChild (you can add guage field etc.,).
In Table class's drawListRow method , call TableRowManager's drawRow method
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: How to create table view in Blackberry 4.6
Thread Thread Starter Forum Replies Last Post
BES 5.0 Exchange/Domino final documentation posted illy BES Admin Corner 9 05-12-2009 12:16 PM
Unite! Help Guide Sith_Apprentice BlackBerry Unite 17 12-25-2008 02:08 PM
Mark Rejhon's Top 7 Most Important BlackBerry Requests for RIM's Growth Success Mark Rejhon General BlackBerry Discussion 15 06-06-2007 04:30 AM
Blackberry Enterprise Activation Woes rgf207 BES Admin Corner 2 05-23-2007 03:21 PM
BES 4.1 for Exchange - Now Available to TSupport Customers jibi BES Admin Corner 86 03-31-2006 12:06 PM

Copyright © 2004-2014
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.