DHTMLX Docs & Samples Explorer

bindCommand(input, command)

Bind button to some command

  • input - object or ID of element, which will be assigned as trigger of the command
  • command - command name (“save, remove, reset, validate”)
dhxForm.bindCommand("someId", "save");