# Dynamic loading

Data is loaded to the DataView on demand

02_dynamic_loading.cfm:
`<cfinclude template="../config.cfm">
<cfset data = createObject("component",request.dhtmlxConnectors["dataview"]).init(request.dhtmlxConnectors["datasource"],request.dhtmlxConnectors["db_type"])>
<cfset data.dynamic_loading(50)>
<cfset data.render_sql(" SELECT * FROM packages_plain WHERE Id < 1000","Id","Package,Version,Maintainer")>
`