this.s.columns[iX] is undefined when trying to use Autofill
this.s.columns[iX] is undefined when trying to use Autofill
Hello,
I am getting this error message when trying to use AutoFill
this.s.columns[iX] is undefined
Here is the part of the code where it fails
/* Check that we are allowed to AutoFill this column or not */
752 var iX = this._fnTargetCoords(e.target).x;
753 if ( !this.s.columns[iX].enable )
754 {
755 return;
756 }
757
I am getting this error message when trying to use AutoFill
this.s.columns[iX] is undefined
Here is the part of the code where it fails
/* Check that we are allowed to AutoFill this column or not */
752 var iX = this._fnTargetCoords(e.target).x;
753 if ( !this.s.columns[iX].enable )
754 {
755 return;
756 }
757
This discussion has been closed.
Replies
Thanks,
Allan
Firefox:
[quote]
this.s.columns[iX] is undefined
if ( !this.s.columns[iX].enable )
[/quote]
Chrome:
[quote]
Uncaught TypeError: Cannot read property 'enable' of undefined
AutoFill._fnFillerDisplay
AutoFill._fnInit
L
f.event.handle
f.event.add.i.handle.k
[/quote]
Thanks very much for flagging this up again and for the link (somewhat embarrassed that it is in one of my own examples!). I've just committed a fix for the problem to AutoFill which can be downloaded as the "nightly" from the downloads page: http://datatables.net/download/ (v1.1.2.dev).
Regards,
Allan