Java Util List in a grid

1
0
-1

Hi, I need to include a java.util.List in an editable matrix.

Comments

Submitted by ze on Fri, 05/30/2014 - 13:53

Just use a two dimension's array variable (Lists are perfectly acceptable) as inicial value of an widget like editable grid.

3 answers

1
0
-1

How are you building your array?

Comments

Submitted by ale.ghirardi on Fri, 05/30/2014 - 15:25

The array is created by means of a connector to mysql and returns a java.util.List. In a list widget type displays perfectly, the problem is with the table

Submitted by ze on Fri, 05/30/2014 - 15:44

So you are working with an one domension Array?

Submitted by ale.ghirardi on Fri, 05/30/2014 - 15:49

I am working with an array of n rows and 1 column

Submitted by ze on Fri, 05/30/2014 - 15:54

So, one dimension. If you want to work with editable grids you need to create a 2 dimensions array, a list (lines) containing other list (columns).

Submitted by ale.ghirardi on Fri, 05/30/2014 - 16:06

There is some example of this?

1
0
-1

Yes, I do this but the process is waiting and does not show the table. Any other configuration needed?

1
0
-1

Just use a two dimension's array variable (Lists are perfectly acceptable) as inicial value of an widget like editable grid.

Notifications