Skip to content
#

pagination

Here are 333 public repositories matching this topic...

MagnificientLlama
MagnificientLlama commented Apr 26, 2020

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

sheffieldnick
sheffieldnick commented Mar 31, 2020

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' column

search also supports a (currently undocumented) custom search function as the 2nd or 3rd argument:

OkciD
OkciD commented Feb 27, 2020

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

Qtaza
Qtaza commented Dec 30, 2019

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
benshine
benshine commented Apr 5, 2017

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:

kerrsmith
kerrsmith commented Jan 23, 2019

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

Improve this page

Add a description, image, and links to the pagination topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the pagination topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.