Register / Login
Win a copy of
The Java Performance Companion
this week in the
How to distribute contents of a single array into different tables
posted 8 years ago
I have a table which looks like these:
11111 11111 11101
11111 11111 01111
11111 11110 11111
11111 11111 11111
The values in the table are being read from a file then transferred to an array, then put into a table.
My problem is that, I want to group all the indexes per block so that I am able to
isolate a block. My task is to have "View Block 1" as one of ly functions.
I have several ideas in mind:
1. If it would make it easier, I will separate a block from the other by using dynamic tables. meaning, every block is in his own table. But problem is, how can I get the indexes?
2. Hide other blocks when the particular block is currently viewed. I have tried this,
but my GUI became ugly.
3. Think of a formula that will compute for the indexes which
belong to Block 1, then put it in an array, then compute for the indexes in Block 2, put it in the same array.. so on..
Can anyone give me some advice?
Have been dealing this for quite a while now.
Apache FO Table Query
Beginner Problem: son & parent
Trouble with model for calculating and adding table values dependent on multiple rows
Please help me in creation of tables