Sunday, March 3, 2013

Re: How to add dynamic colums to celltable

Juan,

Have you figured out a way to include column sorting with this example. I tried to use ListHandler but had no luck .

Thanks.

On Friday, 24 August 2012 09:30:57 UTC-4, Juan Pablo Gardella wrote:
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 <lucky.b...@gmail.com>
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 <gardella...@gmail.com> wrote:
See http://stackoverflow.com/questions/7172262/create-gwt-celltable-dynamically


2012/8/24 lucky <lucky.b...@gmail.com>
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 google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment