Tuesday, January 29, 2013

Flextable getCellClickedEvent

 
FlexTable table = new FlexTable();
table.setBorderWidth( 1 );
table.setText( 0, 1, "Span 2 Rows" );
table.getFlexCellFormatter().setRowSpan( 0, 1, 2 );
table.setText( 0, 0, "First" );
table.setText( 1, 0, "Second" );
table.setText( 0, 2, "First" ); 
table.setText( 1, 2, "Second" );
table.setVisible(1,1,false);

Now when I am clicking cell(1,2) table.getCellClickedEvent(event) is giving colIndex 1 instead of 2.But table.isVisible(1,1) is giving false and table.getCellCount(1) is giving 3.Please suggest any workaround to avoid the column index change in getCellClickedEvent(event) due to setVisible(false).


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