creating components and calling them as objects

want to create a list and call them as object inside a code…can any give a sample code

If you created a component using dhx.ui() method can defined the “id” parameter in config of this component, you may access the object using $$(id) method. For example:

dhx.ui({id:“mylist”,…});

$$(“mylist”).load(url);