Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 51b3aa5

Browse files
committed
fix: make serialno column resizeable data length is a lot
1 parent 9c4af05 commit 51b3aa5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/datamanager.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ export default class DataManager {
7777
focusable: false,
7878
dropdown: false
7979
};
80-
80+
if (this.options.data.length > 1000) {
81+
cell.resizable = true;
82+
}
8183
this.columns.push(cell);
8284
}
8385
}

0 commit comments

Comments
 (0)