surgeforward/Surge-SlickGrid-Extensions — Issue #1: DataView not works with extension
Author: yauhen
Created: 2011-12-07 10:04:51+00:00
State: open

As far as I understnad dataview logic mainly depends on rows reference that is saved in grid. Jquery UI do cloning of options so data property and rows of dataview will differ. SO any changes in dataview will be skipped. So it is completely unworkable.
Sample is here:

var dataView = new Slick.Data.DataView();

var grid = $(element).slickGrid({
enableCellNavigation: false,
enableColumnReorder: false,
data: dataView.rows
});

dataView.beginUpdate();
dataView.setItems(data); //data is some array
dataView.endUpdate();

dataView.onRowCountChanged.subscribe(function(args) {
grid.updateRowCount();
grid.render();
});