You can't specify a matrix to fill a CellTable. You have to declare an object that represents each row, then add columns to pull the values out of the row.
The closest thing to a matrix is to declare the CellTable as type List<String> (CellTable<List<String>>). Then add columns that read the associated index, so column 0 reads list.get(0), column 1 reads list.get(1), etc... Then you can pass a List<List<String>> to setRowData(). Thanks, John LaBanca [email protected] On Mon, Nov 22, 2010 at 10:13 AM, alf <[email protected]> wrote: > How can I create a content of table without previosly has a class with > models. > > I can cretate a header of column but when I set a list like > Arrays.aslist{"",""} only fill a first column a repite the same in > other column. I would like send a matrix colum & row to fill table > correctly. > > many thanks > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
