Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: s.concat is not a function #18

Open
rb200505 opened this issue May 3, 2018 · 1 comment
Open

TypeError: s.concat is not a function #18

rb200505 opened this issue May 3, 2018 · 1 comment

Comments

@rb200505
Copy link

rb200505 commented May 3, 2018

Hi
I am getting the following error while using fields option as given in the example. Can you please help.
fields: {
edit: {
name: "edit-btn",
html: function (item) { return "Edit"; }
}
}
Error:
Uncaught (in promise) TypeError: s.concat is not a function
at t.value (kingtable.js:12)
at t.value (kingtable.js:14)
at t.value (kingtable.js:14)
at t.value (kingtable.js:14)
at t.value (kingtable.js:13)
at i (kingtable.js:13)
at kingtable.js:13

@rb200505
Copy link
Author

rb200505 commented May 3, 2018

and if I use as below, error is gone but the button is not displayed
fields: [
{
name: "delete-btn",
displayName: "Delete",
html: function () { "Delete"; }
}
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant