Skip to content

Commit 6677789

Browse files
committed
Make updateDataset public
Signed-off-by: Itay Dafna <[email protected]>
1 parent e319e33 commit 6677789

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/core/viewbasedjsonmodel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class ViewBasedJSONModel extends MutableDataModel {
2929
*/
3030
constructor(data: ViewBasedJSONModel.IData) {
3131
super();
32-
this._updateDataset(data);
32+
this.updateDataset(data);
3333
this._transformState = new TransformStateManager();
3434
// Repaint grid on transform state update
3535
// Note: This will also result in the `model-reset` signal being sent.
@@ -64,7 +64,7 @@ export class ViewBasedJSONModel extends MutableDataModel {
6464
*
6565
* @param data - The data to be set on this data model
6666
*/
67-
private _updateDataset(data: ViewBasedJSONModel.IData): void {
67+
updateDataset(data: ViewBasedJSONModel.IData): void {
6868
this._dataset = data;
6969
this._updatePrimaryKeyMap();
7070
const view = new View(this._dataset);

0 commit comments

Comments
 (0)