Last active
May 27, 2016 05:06
-
-
Save goofmint/5c636a18e03ea7e057129e50453ef6dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setData: function(data, dummyColNums) { | |
: | |
var dataSource = datagrid.createDataSource({ | |
idProperty: 'id', | |
type: 'local', | |
param: data | |
}); | |
// paramを再生成する | |
this._createDefaultParam(dummyColNums); | |
// FIXME (0,0)にグリッドをスクロール | |
this._gridController._viewController._vPos = 0; | |
this._gridController._viewController._hPos = 0; | |
this._gridController.activate(dataSource, this._param); | |
this._gridController.search(); | |
this._triggerLengthChange(); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment