The first step is to create html page and add links to the javascript files and css dependencies to your project. The jqxToolBar widget requires the following files:
$("#jqxToolBar").jqxToolBar("destroyTool", 0);To get the result of a function(method) call, you need to pass the method name in the jqxToolBar’s constructor and parameters(if any).
var tools = $("#jqxToolBar").jqxToolBar("getTools");To set a property(option), you need to pass the property name and value(s) in the jqxToolBar's constructor.
$("#jqxToolBar").jqxToolBar({ disabled: true });To get a property(option), you need to pass the property name to the jqxToolBar's constructor.
var height = $("#jqxToolBar").jqxToolBar("height");To bind to an event of a UI widget, you can use basic jQuery syntax. The example code below demonstrates how to bind to the "open" event of jqxToolBar.
// bind to open event. $("#jqxToolBar").on("open", function (event) { alert("Pop-up menu opened."); });