This is an extension and not part of the main GoJS library.
Note that the API for this class may change at any time.
If you intend to use an extension in production, you should copy the code to your own source directory.
Extensions can be found in the GoJS kit under the
See the Extensions intro page for more information.
The ColumnResizingTool class lets the user resize each column of a named Table Panel in a selected Part.
If you want to experiment with this extension, try the Column Resizing sample.
Constructs a ColumnResizingTool and sets the handle and name of the tool.
Gets or sets the name of the Table Panel to be resized.
The default value is the name "TABLE".
This tool may run when there is a mouse-down event on a "ColumnResizing" handle, the diagram is not read-only, the left mouse button is being used, and this tool's adornment's resize handle is at the current mouse point.
Stop the current transaction and release the mouse.
Pressing the Delete key removes any column width setting and stops this tool.