JavaScript error when dataSource is an empty array #23

babyman opened this Issue May 20, 2015 · 1 comment


None yet
2 participants

babyman commented May 20, 2015

In version 1.0.8 if the dataSource is set to an empty array like so:

var config = {
          dataSource: [],

Chrome registers a JS error "Uncaught TypeError: Cannot read property 'parent' of undefined". My intent was to load the data via ajax in a separate call, my current workaround is to hardcode a single row of data with zeros and "Loading..." as its content, this seems to work for the time being.

Thanks for the great work =)

@nnajm nnajm added this to the v1.0.9 milestone Jun 28, 2015


This comment has been minimized.

Show comment
Hide comment

nnajm Jun 28, 2015




nnajm commented Jun 28, 2015


@nnajm nnajm closed this Jun 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment