I have a slickgrid, about 100 rows. Its data is updated within 5 seconds, but with each update it causes concern, scroll reset. I tried using dataview and dataview.refresh (), but this time no changes are reflected in the grid.
Here is what I tried with each update:
mapMemoryTableDataView.beginUpdate();
mapMemoryTableDataView.setItems(data);
mapMemoryTableDataView.endUpdate();
mapMemoryTableDataView.refresh();
if(mapMemoryTableGrid == null)
mapMemoryTableGrid = new Slick.Grid("#datatableMap1", mapMemoryTableDataView, columns, options);
mapMemoryTableGrid.updateRow(1)
mapMemoryTableGrid.render()
source
share