Skip to content

Commit f942c3c

Browse files
committed
Fix None cell issue
When the cell value is None, the cell metadata (type, style...) is not set. Causing other issues.
1 parent c83b8b3 commit f942c3c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

js/src/sheet.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ let SheetModel = widgets.DOMWidgetModel.extend({
110110
},
111111
_cell_data_to_grid: function(cell) {
112112
let value = cell.get('value');
113-
if((value === null) || (value === undefined)) {
114-
return;
115-
}
116113
for(let i = cell.get('row_start'); i <= cell.get('row_end'); i++) {
117114
for(let j = cell.get('column_start'); j <= cell.get('column_end'); j++) {
118115
let value = cell.get('value');

0 commit comments

Comments
 (0)