title: Retrieving row data from chart wrapper table after changing a control wrapper
body: <p>I have a chart wrapper table and a 'select' event listener bound to it for retrieving row data as follows:</p>
  
  <pre><code>var table = new google.visualization.ChartWrapper({
                      'chartType': 'Table',
                      'containerId': 'tableDiv',
                      'options': {
                          'allowHtml': true,
                          'page': 'enable',
                          'width':'100%',
                          'height':'270px',
                          'pageSize': 10,
                      }
                  });
  
  google.visualization.events.addListener(table, 'ready', function () {
  
                      google.visualization.events.addListener(table, 'select', function(){
                                   var selection = table.getChart().getSelection();
                                   var row = selection[0].row;
  
                                   var x=dataTable.getValue(row, 1); 
                                   var y=dataTable.getValue(row,3);
                      });
  });
  </code></pre>
  
  <p>Now this works fine when I'm on the first page of the table or when the full table is displayed. However, as soon as some sorting/filtering/pagination is done the retrieved row data is false, due to the fact that the hidden rows are not counted.</p>
  
  <p>Example: I have a table with 10 rows. In each one there is a string - 'row1', 'row2', 'row3'... 'row10'. I then use a control wrapper to filter the table so only rows 5-10 remain visible. When I click on row 5 now, it counts it as row 1 and I don't get the correct data anymore.</p>
  
  <p>Any ideas how I could fix this problem?</p>
  
  <p>Thanks</p>