Skip to content

Instantly share code, notes, and snippets.

Last active May 27, 2016 05:06
What would you like to do?
setData: function(data, dummyColNums) {
var dataSource = datagrid.createDataSource({
idProperty: 'id',
type: 'local',
param: data
// paramを再生成する
// FIXME (0,0)にグリッドをスクロール
this._gridController._viewController._vPos = 0;
this._gridController._viewController._hPos = 0;
this._gridController.activate(dataSource, this._param);;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment