We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e568ff commit 7ba7623Copy full SHA for 7ba7623
web/scripts/data.view.js
@@ -143,8 +143,9 @@ function initializeDataView() {
143
* Updates data stats on view config changes or data load/update.
144
*/
145
function updateStats() {
146
+ const numberOfRows = viewer.view ? viewer.view.num_rows() : viewer.table.size();
147
// get rows count and displayed columns info
- viewer.view.num_rows().then(rowCount => {
148
+ numberOfRows.then(rowCount => {
149
let columns = viewer['columns'];
150
/*if (viewConfig.hasOwnProperty('columns')) {
151
// use view config columns property instead
0 commit comments