如何在融合表中使用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 });
});
}
答案 0 :(得分:0)
numRows = response.getDataTable().getNumberOfRows();