There are two possible syntaxes of DataView constructor
var view = new dhtmlXDataView("container_id")
Where container_id - id of html container, inside which dataview will be initialized.
var view = new dhtmlXDataView({
container:"container_id",
drag:true,
select:true,
template:some
});
Where
container - {mixed} ID of html container inside which item will be rendered
drag - {bool} enables dnd
true - dnd allowed
false - dnd denied
select - {mixed} defines selection mode
false - selection is denied
true - single selection is allowed
“multiselect” - multiselection is allowed
type - {mixed} name of render-type, or custom template
height - {string} can be set as “auto” to force auto-height
pager - pading control settings
tooltip - tooltip object settings
var view = new dhtmlXDataView({
container:"container_id",
tooltip:{
template:"Details: #property#"
}
});