Thursday, June 28, 2012

reordering of column in celltable

current, the column order in CellTable is fixed in coding, that is, something like

    Celltable.addColumn(col1, "col1");
    Celltable.addColumn(col2, "col2");
    Celltable.addColumn(col3, "col3");
    ......
    Celltable.addColumn(col10, "col10");


1) if user want to change this column order (e.g. user want the col3 to be placed at the first column), there is impossible to do something like drag and drop to change the column order in CellTable ,right?
2) if we create a table like

    Strnig position
    col1     5
    col2     1
    col3     2
    ...
    col10   3

is it possible to use this table to dynamic change the ordering of column in the CellTable?

3) even worse, if one day user add one more row to the previous table like
col11 6
is it possible to automatically add this new column in the UI without changing code? (I really think this is impossible)

--
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/-/oeLxaMOQxK0J.
To post to this group, send email to google-web-toolkit@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.

No comments:

Post a Comment