Friday, February 1, 2013

Re: Flextable getCellClickedEvent


On Wednesday, 30 January 2013 10:53:40 UTC+5:30, Arpita Dasgupta wrote:
 
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).
I am getting this problem when building and running with maven (<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
  <gwt.version>2.1.1</gwt.version>
  <jdk.source.version>1.6</jdk.source.version>
  <jdk.target.version>1.6</jdk.target.version>
  <presenter.version>1.0.0</presenter.version>
  <dispatch.version>1.1.0</dispatch.version>
  <gin.version>1.5.0</gin.version>
  <gin.classifier>pre-gwt-2.2</gin.classifier>
  <gwtent.version>2.1.0-1</gwtent.version>
<mavenwarplugin.version>2.1.1</mavenwarplugin.version>
  <gwtmavenplugin.version>2.1.0-1</gwtmavenplugin.version>
  <mavenDdependencyPlugin.version>2.4</mavenDdependencyPlugin.version>
  <mavenResourcesPlugin.version>2.4.3</mavenResourcesPlugin.version>
  <jaxb2MavenPlugin.version>1.3</jaxb2MavenPlugin.version>
  <mavenSourcePlugin.version>2.1.2</mavenSourcePlugin.version>
<dependency>
   <groupId>com.gwtent</groupId>
   <artifactId>gwtent</artifactId>
   <version>2.0.0.RC1</version>
   <scope>provided</scope>
  </dependency>
  <dependency>
   <groupId>com.gwtext</groupId>
   <artifactId>gwtext</artifactId>
   <version>2.0.5</version>
   <scope>provided</scope>
  </dependency>).
But when I am using GWt SDK 2.1.1 it is working fine. Please help.
 

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