X-SlickGrid icon indicating copy to clipboard operation
X-SlickGrid copied to clipboard

updateCell funciton uses DOM API instead of jQuery API

Open mohoch1 opened this issue 9 years ago • 1 comments

The cellNode should not be treated as a DOM element as it is a jQuery object. The current code, is actually the code from the original SlickGrid, trying to set the HTML of the cell using innerHTML, while in the X-SlickGrid this element is actually a jQuery object.

The actual way to set the HTML in this element is using the jQuery.html() funciton

NOTE: There might be a need to review the entire flow and handle this in a lower level (maybe the getCellNode funciton), but this solves the critical issue.

mohoch1 avatar Sep 03 '15 09:09 mohoch1

Hi @mohoch1.

Could you add an example that demonstrates this bug?

ddomingues avatar Sep 21 '15 01:09 ddomingues