pagination
Here are 333 public repositories matching this topic...
Can this be added to the List API docs please?
As well as the documented:
listObj.search('Jonny'); // Only item with name Jonny is shown (also returns this item)
listObj.search(); // Show all items in list
listObj.search('Jonny', ['name']); // Only search in the 'name' columnsearch also supports a (currently undocumented) custom search function as the 2nd or 3rd argument:
Currently the pagination shows(with text previous and next) even if the page count is zero. Ideally it should get hidden if the page count is zero.
Documentation please
-
Updated
Mar 28, 2020 - JavaScript
-
Updated
Sep 17, 2019 - JavaScript
Hello!
I am using vuejs-paginate@2.1.0 and I had a necessity to set selected page number explicitly. I was trying to pass the selected page number in both force-page and initial-page props, but it didn't work. Thanks to Vue devtools, I had found out the value property and successfully used it to determine selected page number. So, please, update the docs and mention the value property
-
Updated
Jul 24, 2019 - JavaScript
-
Updated
Sep 20, 2018 - JavaScript
-
Updated
Mar 17, 2020 - JavaScript
-
Updated
May 18, 2020 - JavaScript
-
Updated
Apr 24, 2018 - JavaScript
-
Updated
Apr 17, 2020 - JavaScript
Hi!
I don't understand, why blog article template constains slug fileld. This slug is not used anything.
I see that 'gatsby-node.js' has this fragment:
postsAndPages.forEach(edge => {
const id = edge.node.id
createPage({
path: edge.node.fields.slug,
tags: edge.node.frontmatter.tags,
component: path.resolve(
`src/templates/${String
-
Updated
Jun 1, 2020 - JavaScript
-
Updated
Apr 20, 2020 - JavaScript
-
Updated
Mar 14, 2020 - JavaScript
From the README, it is unclear that we need to explicitly trigger the first fetch. The readme says "This setup will immediatly call fetch twice (for records 0-4 [page 0] and records 5-9 [page 1])"... but actually it won't.
I think the solution is to add
on-init=(action 'initializeReadOffset')
to the template, and an implementation of initializeReadOffset that just does this:
-
Updated
Mar 28, 2020 - JavaScript
If you add the the following line of code as shown in the example:
<pagination :records="500" @paginate="myCallback">
you get the following error:
[Vue warn]: Missing required prop: "page"
The example line needs to read:
<pagination :page=1 :records="500" @paginate="myCallback">
Once the :page prop is added the code works as expected - this change to the
-
Updated
May 24, 2020 - JavaScript
-
Updated
Sep 5, 2018 - JavaScript
-
Updated
Jun 2, 2020 - JavaScript
Add document site
To get better user experience (for repo users) I recommend to host example directory on gh-pages.
I think that way increase users of this package/repo
-
Updated
Apr 16, 2020 - JavaScript
-
Updated
Jun 7, 2020 - JavaScript
-
Updated
May 10, 2019 - JavaScript
-
Updated
May 20, 2020 - JavaScript
When defining todos function the fat arrow symbol => is missing:
Is: const todos = (todos = {}, action = {}) {
should be: const todos = (todos = {}, action = {}) => {
Line 58 and 137
Improve this page
Add a description, image, and links to the pagination topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the pagination topic, visit your repo's landing page and select "manage topics."
I might be missing these methods, or easy implementation but I just can't seem to find them in the documentation and examples.
Removing row by index. - You insert and update row by index, however removing row is suddenly by definite field and value or unique Id. I often missed ability to remove a row by its index instead of having to look for a value in that one specific row so that i can remov