I have a FlexTable with many rows
ID - Word - Down - Up 1 - car - Down - 2 - cat - Down - Up ...more rows
FlexTable tb=new FlexTable(); tb.setText(0,0,"ID"); tb.setText(0,1,"Word"); tb.setText(0,2,"Down"); tb.setText(0,3,"Up"); tb.setText(1,0,"1"); tb.setText(1,1,"car"); tb.setText(2,0,"2"); tb.setText(2,1,"cat"); tb.setWidget(1,2,downButton); tb.setWidget(2,3,upButton); ......
Now I have a button MoveUp & a button MoveDown. I want when user clicks Up (at row ID=2), the FlexTable will become
ID - Word - Down - Up 2 - cat - Down - Up 1 - car - Down ... more rows ...
& then when user click Down (at row ID=2), the FlexTable will become
ID - Word - Down - Up 1 - car - Down - 2 - cat - Down - Up ...more rows
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.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment