How to disable all autoResize features? #1540
-
Hi, how can I disable autoResizing features completely? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You might want to try
you should never change a file from the library itself, this will be overwritten every time you run npm install |
Beta Was this translation helpful? Give feedback.
autoResize
is not a boolean but rather an object accepting other options, you'll want to useenableAutoResize
instead. Also if you set agridHeight
andgridWidth
(which I assume you will need without the auto-resize) then it disable the resize (e.g. live demo Example 1). TypeScript intellisense in VSCode should show the correct type.You might want to try
autoResize: { resizeDetection: 'container' }
option that was added by another user, you may have better result.you should never change a file from the library itself, this will be overwritten every time you run npm install