DataTable - Lazy : ERROR TypeError: val.slice is not a function

UI Components for Angular
Post Reply
kn.hari02@gmail.com
Posts: 14
Joined: 30 Jun 2017, 13:39

05 Jul 2017, 09:23

Hi,

I am getting following when i do page navigation and rowsPerPageOptions with DataTable - Lazy

ListGridTestComponent.html:29 ERROR TypeError: val.slice is not a function
at DataTable.set [as value] (datatable.js:496)
at updateProp (core.es5.js:11189)
at checkAndUpdateDirectiveDynamic (core.es5.js:10944)
at checkAndUpdateNodeDynamic (core.es5.js:12438)
at checkAndUpdateNode (core.es5.js:12353)
at debugCheckAndUpdateNode (core.es5.js:13209)
at debugCheckDirectivesFn (core.es5.js:13150)
at Object.eval [as updateDirectives] (ListGridTestComponent.html:29)
at Object.debugUpdateDirectives [as updateDirectives] (core.es5.js:13135)
at checkAndUpdateView (core.es5.js:12317)
at callViewAction (core.es5.js:12680)
at execComponentViewsAction (core.es5.js:12612)
at checkAndUpdateView (core.es5.js:12323)
at callViewAction (core.es5.js:12680)
at execComponentViewsAction (core.es5.js:12612)



Thanks,
Hari.

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

06 Jul 2017, 07:50

Please don't create duplicate threads.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

glarco
Posts: 1
Joined: 19 Sep 2017, 15:55

19 Sep 2017, 15:59

Had the same issue after upgrading to primeng 4.2.1.
After removing the [rowsPerPageOptions] option, running and adding again the option the error went away.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests