FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: format page number in table widget (#1992) · googleapis/google-cloud-python@1710489 · GitHub

Commit 1710489

Browse files
authored
feat: format page number in table widget (#1992)
1 parent ca16c8c commit 1710489

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎packages/bigframes/bigframes/display/table_widget.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ function render({ model, el }) {
8888
const totalPages = Math.ceil(rowCount / pageSize);
8989

9090
rowCountLabel.textContent = `${rowCount.toLocaleString()} total rows`;
91-
paginationLabel.textContent = `Page ${currentPage + 1} of ${totalPages || 1}`;
91+
paginationLabel.textContent = `Page ${(
92+
currentPage + 1
93+
).toLocaleString()} of ${(totalPages || 1).toLocaleString()}`;
9294
prevPage.disabled = currentPage === 0;
9395
nextPage.disabled = currentPage >= totalPages - 1;
9496
pageSizeSelect.value = pageSize;

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL