mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 18:40:12 +00:00
First attempt at generating proper paging google tables. However, somehow they are kind of messed up, so I'm probably going to drop this.
This commit is contained in:
@@ -314,4 +314,21 @@ function googleTable(URL, container) {
|
||||
} else {
|
||||
console.log('No container found called "' + container + '"');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param URL
|
||||
* @param container
|
||||
*/
|
||||
function googleTablePaged(URL, container) {
|
||||
var query, options;
|
||||
query = new google.visualization.Query(URL);
|
||||
objContainer = document.getElementById(container);
|
||||
options = {'pageSize': 5};
|
||||
|
||||
query.abort();
|
||||
var tableQueryWrapper = new TableQueryWrapper(query, objContainer, options);
|
||||
tableQueryWrapper.sendAndDraw();
|
||||
|
||||
}
|
Reference in New Issue
Block a user