dp

returns the dataprocessor object

object dp(string|object name);
namestring|objectthe ID of a view, a view object, or a DataProcessor configuration object
objectthe dataprocessor object

Example

var dp1 = webix.dp("myview");
var dp2 = webix.dp(dtable);
 
var dp3 = webix.dp({
    master:$$('myview');
});

Details

If a dataprocessor hasn't been specified for the component, a new dataprocessor will be created when the method is called.

Back to top