diff --git a/assets/datagrid.js b/assets/datagrid.js index d3c97db7..d29bab0d 100644 --- a/assets/datagrid.js +++ b/assets/datagrid.js @@ -687,7 +687,7 @@ $(document).on('click', '[data-datagrid-editable-url]', function(event) { cell.addClass('editing'); cellValue = cell.html().trim().replace('
', '\n'); if (cell.attr('data-datagrid-editable-value')) { - valueToEdit = cell.data('datagrid-editable-value'); + valueToEdit = String(cell.data('datagrid-editable-value')); } else { valueToEdit = cellValue; }