DHTMLX Docs & Samples Explorer

load (id)

Load data in the form

  • id - id of record , which need to be loaded
  • callback - method which will be called after operation

Method is purposed to be used with connectors on server side. Client side fields must have bind “attribute”

dhxForm.load(12);
dhxForm.load({
  id:12, 
  some_property:"some_value"
});
dhxForm.load(12,function(id, response){
  alert("Data has been loaded");
});