dp

returns dataprocessor object

object dp(string name);

Parameters

namestringid of view, or view object

Returns

objectdataprocessor object

Example

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

Details

If there wasn't a dataprocessor for the component - a new one will be created.

Back to top