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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.