BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-20-2007, 03:08 PM   #1 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8800
PIN: N/A
Carrier: Telcel
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how build a table?

Please Login to Remove!

I have tried to build a kind of table, but only in the forum I have found to the next links about grids:

grid layout
is Grid Layout possible in blackberry

If I want build a dynamic table (depends of the size of the array) and after the construction manipulate the data inside the table. I hope you can help me. Thanks
__________________
..So, Iíve decided to take my work back underground
To stop it falling into the wrong hands ... Music for jilted generation
Offline  
Old 09-21-2007, 02:38 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i did something similar, i created a custom layout manager that places objects on a fixed position, taking arrays of fields and x/y coordinates as parameter.

using this you can calculate the positions dividing the available screenwidth/heigth with the number of rows/columns. give the results as parameters to the layout.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 09-21-2007, 12:16 PM   #3 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8800
PIN: N/A
Carrier: Telcel
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

can you give any clue for start? thanks
__________________
..So, Iíve decided to take my work back underground
To stop it falling into the wrong hands ... Music for jilted generation
Offline  
Old 09-24-2007, 02:55 AM   #4 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

see net.rim.device.api.ui.Manager and especially
protected final void setPositionChild(Field field, int x, int y)
protected final void layoutChild(Field field, int width,int height)
__________________
java developer, Devinto, hamburg/germany
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

Vintage Apple Darlin's Weekly Memo Note Pad 52 Sheets SEALED 1970's
$9.5
Vintage Apple Darlin's Weekly Memo Note Pad 52 Sheets SEALED 1970's pictureApple Macintosh IIcx M5850 - Vintage
$36.44
Apple Macintosh IIcx M5850 - Vintage pictureUU1: Vintage Apple Powerbook Low Power AC Adapter ADP-17AB
$24.99
UU1: Vintage Apple Powerbook Low Power AC Adapter ADP-17AB pictureVintage Apple & Pear Fruit Firmness Tester
$25.0
Vintage Apple & Pear Fruit Firmness Tester  picture4 Boxes of Vintage Apple M2658G/A Color Inkjet Transparencies LTR 20 Sheets NIB
$20.0
4 Boxes of Vintage Apple M2658G/A Color Inkjet Transparencies LTR 20 Sheets NIB  picture






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