Skip to content

Commit ff2cded

Browse files
author
Christoph Russ
committed
Fix issue plotly#300: changing pagination button text
1 parent 0d6b7c4 commit ff2cded

File tree

13 files changed

+22
-23
lines changed

13 files changed

+22
-23
lines changed

dash_table/DataTable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ class DataTable(Component):
313313
- page_action (a value equal to: 'custom', 'native', 'none'; optional): `page_action` refers to a mode of the table where
314314
not all of the rows are displayed at once: only a subset
315315
are displayed (a "page") and the next subset of rows
316-
can viewed by clicking "Next" or "Previous" buttons
316+
can viewed by clicking "<" (previous) or ">" (next) buttons
317317
at the bottom of the page.
318318
319319
Pagination is used to improve performance: instead of
@@ -323,7 +323,7 @@ class DataTable(Component):
323323
With pagination, we can either page through data that exists
324324
in the table (e.g. page through `10,000` rows in `data` `100` rows at a time)
325325
or we can update the data on-the-fly with callbacks
326-
when the user clicks on the "Previous" or "Next" buttons.
326+
when the user clicks on the "<" (previous) or ">" (next) buttons.
327327
These modes can be toggled with this `page_action` parameter:
328328
- `'native'`: all data is passed to the table up-front, paging logic is
329329
handled by the table

dash_table/bundle.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_table/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_table/demo.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_table/demo.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_table/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@
750750
]
751751
},
752752
"required": false,
753-
"description": "`page_action` refers to a mode of the table where\nnot all of the rows are displayed at once: only a subset\nare displayed (a \"page\") and the next subset of rows\ncan viewed by clicking \"Next\" or \"Previous\" buttons\nat the bottom of the page.\n\nPagination is used to improve performance: instead of\nrendering all of the rows at once (which can be expensive),\nwe only display a subset of them.\n\nWith pagination, we can either page through data that exists\nin the table (e.g. page through `10,000` rows in `data` `100` rows at a time)\nor we can update the data on-the-fly with callbacks\nwhen the user clicks on the \"Previous\" or \"Next\" buttons.\nThese modes can be toggled with this `page_action` parameter:\n- `'native'`: all data is passed to the table up-front, paging logic is\nhandled by the table\n- `'custom'`: data is passed to the table one page at a time, paging logic\nis handled via callbacks\n- `none`: disables paging, render all of the data at once",
753+
"description": "`page_action` refers to a mode of the table where\nnot all of the rows are displayed at once: only a subset\nare displayed (a \"page\") and the next subset of rows\ncan viewed by clicking \"<\" (previous) or \">\" (next) buttons\nat the bottom of the page.\n\nPagination is used to improve performance: instead of\nrendering all of the rows at once (which can be expensive),\nwe only display a subset of them.\n\nWith pagination, we can either page through data that exists\nin the table (e.g. page through `10,000` rows in `data` `100` rows at a time)\nor we can update the data on-the-fly with callbacks\nwhen the user clicks on the \"<\" (previous) or \">\" (next) buttons.\nThese modes can be toggled with this `page_action` parameter:\n- `'native'`: all data is passed to the table up-front, paging logic is\nhandled by the table\n- `'custom'`: data is passed to the table one page at a time, paging logic\nis handled via callbacks\n- `none`: disables paging, render all of the data at once",
754754
"defaultValue": {
755755
"value": "'native'",
756756
"computed": false
@@ -1757,4 +1757,4 @@
17571757
}
17581758
}
17591759
}
1760-
}
1760+
}

inst/deps/bundle.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/deps/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/deps/demo.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/deps/demo.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)