Custom window tools

Tutorial » Custom window tools

By default the window has four tools:collapsible,minimizable,maximizable and closable. For example we defines below window:

To custom the tools set the tools to true or false. For example we wish to define a window which has only one closable tool. You should set any other tool to false. We can defines tools property in markup or by jQuery code. Now we use the jQuery code to defines the window:

If we wish to add our custom tools to window, we can use tools property, as a demonstration we add our two tools to window:

Download the EasyUI example:

easyui-window-demo.zip