Hi,

I show my code where use it.

CellTable<List<String>> table = new CellTable<List<String>>();
    List<List<String>> rows = ...

    for (int column = 0; columna < columnCount; column++) {
      table.addColumn(new IndexedColumn(column), new
TextHeader(columnsArray[column]));
    }

   final ListDataProvider<List<String>> provider = new
ListDataProvider<List<String>>(rows);

    for (String[] row: rowsArray) {
      rows.add(Arrays.asList(row));
    }


2012/8/24 lucky <[email protected]>

> if possible could you please provide me the brief sample example (like in
> the showcase).
> Thanks
>
> On Fri, Aug 24, 2012 at 6:40 PM, Juan Pablo Gardella <
> [email protected]> wrote:
>
>> See
>> http://stackoverflow.com/questions/7172262/create-gwt-celltable-dynamically
>>
>>
>> 2012/8/24 lucky <[email protected]>
>>
>>> Hi,
>>>
>>> i have a requirement that i need to add dynamic columns to cell table.
>>> i Google it but didn't find proper solution.
>>>
>>> Please provide me some sample to add dynamic columns to cell table
>>>
>>> Thanks in advance
>>>
>>>
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Web Toolkit" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/google-web-toolkit/-/qBLc060as0IJ.
>>> 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.
>>>
>>
>>  --
>> 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.
>>
>
>  --
> 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.
>

-- 
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.

Reply via email to