Skip to content

TypeError: callback is not a function #142

@Jean45612

Description

@Jean45612

Hi, I'm trying to run an event every time the page is refreshed, but I'm getting this error.

Error in nextTick: "TypeError: callback is not a function

this is my component

<datatable :columns="columns" :data="getRows" :per-page="paginate" ref="myTable"></datatable>

getRows: function (info, callback) {
      console.log(info)
      callback([], 5);
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions