2

如何在融合表中使用 queryText 获取行数结果?我将在下面发布我的代码...

function drawTable() 
{
    var queryText = encodeURIComponent(consulta);
    var gvizQuery = new google.visualization.Query('http://www.google.com/fusiontables/gvizdata?tq=' + queryText);
    gvizQuery.send(function (response) 
    {
        var table = new google.visualization.Table(document.getElementById('visualization'));
        table.draw(response.getDataTable(), { showRowNumber: true });
    });
}
4

1 回答 1

0
numRows = response.getDataTable().getNumberOfRows();
于 2012-06-18T17:32:46.057 回答