react-virtualized icon indicating copy to clipboard operation
react-virtualized copied to clipboard

support column resize

Open zllc opened this issue 9 years ago • 3 comments

can Multigrid support column resize?

zllc avatar Nov 23 '17 00:11 zllc

Not as part of the built-in library. You can add this yourself using a library like react-draggable.

You can see a row-resize demo here and source for it here.

bvaughn avatar Nov 25 '17 01:11 bvaughn

Update: I've also created a basic example of resizable Table columns here https://codesandbox.io/s/j30k46l7xw

bvaughn avatar Apr 21 '18 18:04 bvaughn

@bvaughn hi! I copy your code and when I use the headerRenderer={this.headerRenderer} in Colunm, It got an error:

Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of Table.

When I commented it out, it worked, Can you tell me the reason, thank you!

CZL95 avatar May 23 '19 07:05 CZL95