You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the first condition is met, "this" points to the Grid object and not to the Field object which is where the cellRenderer function is defined. I believe this is what's causing the error. When I change the line to: $result = $(field.cellRenderer(fieldValue, item));
everything works well.
The text was updated successfully, but these errors were encountered:
Looking through the source code of jsgrid.js, I noticed the following conditional checks inside of the _createCell function of the Grid
When the first condition is met, "this" points to the Grid object and not to the Field object which is where the cellRenderer function is defined. I believe this is what's causing the error. When I change the line to:
$result = $(field.cellRenderer(fieldValue, item));
everything works well.
The text was updated successfully, but these errors were encountered: