PanningTool usage

I have one more question… is there any sample that uses panningTool in it.

Basically all of the samples support panning, which is implemented by an instance of PanningTool that is installed as the ToolManager.panningTool, a standard tool. So every sample that supports scrolling can be panned by mouse or finger.

Getting this error
Uncaught Error: ToolManager.replaceStandardTool:newtool value is not an instance of Tool: false

when using myDiagram.toolManager.panningTool=false;

myDiagram.toolManager.panningTool.isEnabled = false;