BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-06-2011, 08:53 AM   #1 (permalink)
New Member
 
Join Date: Jul 2011
Model: 8900
PIN: N/A
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!

Hello,
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)
Offline  
Old 07-12-2011, 12:35 AM   #2 (permalink)
New Member
 
Join Date: Apr 2011
Model: 8900
PIN: N/A
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
Offline  
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 11:16 AM
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 03:30 AM
Blackberry Enterprise Activation Woes rgf207 BES Admin Corner 2 05-23-2007 02:21 PM
BES 4.1 for Exchange - Now Available to TSupport Customers jibi BES Admin Corner 86 03-31-2006 12:06 PM

GE Fanuc IC693CPU374-AA CPU Module With 240K User Memory Broken Clip
$1599.95
GE Fanuc IC693CPU374-AA CPU Module With 240K User Memory Broken Clip pictureControl Company 4096 Traceable Memory Humidity/Temperature Meter
$55.0
Control Company 4096 Traceable Memory Humidity/Temperature Meter picture(5200) Gould Modicon Memory Module AS-9646-000 W Brad Harrison Cord 5P M
$50.0
(5200) Gould Modicon Memory Module AS-9646-000 W Brad Harrison Cord 5P M picture80pcs Sunplus SPR23L1600D 2MB ROM memory silicon dies wafer
$15.0
80pcs Sunplus SPR23L1600D 2MB ROM memory silicon dies wafer  pictureLot of 10 Samsung 8gb PC2 - 5300F M395T1G60QJ4 - CE68 Memory
$150.0
Lot of 10 Samsung 8gb PC2 - 5300F M395T1G60QJ4 - CE68 Memory picture






Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.