angularjs-table
angularjs-table copied to clipboard
Cannot read property 'forEach' of undefined
Hey,
I am just starting out with this library and can't get rid of this TypeError:
TypeError: Cannot read property 'forEach' of undefined at updateSortPriority (ap-mesa.js:575)
Any ideas what the cause might be?
I get the same thing. The updateSortPriority function is trying to iterate over scope.enabledColumns Not sure what that's about.
This happens when your columns attribute is not defined
Hm strange, it is defined. Leaving it for now, since everything works fine.
@warhost does your columns array get defined after the table has been compiled and linked? This may be a minor bug in the library.