Hello Tony,
I exanined strange problem where dataInit was called multiple times: one time with Number as parameter like 0 (???) and the second time with DOM element as parameter. Because the code like $(0).datepicker() produce no exception typical code work correctly, but other kind of usage of input parameter can follow to error.
The reason of the strange behavior is in the line of setAttributes function from the grid.common.js module. The line
exclude = $.extend(exclude, exl);
will be used to merge exl array with the array holding some standard attributes
var exclude = ['dataInit','dataEvents','dataUrl', 'buildSelect','sopt', 'searchhidden', 'defaultValue', 'attr'];
The problem is that $.extend
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top