Changing background image of DataView on mouse over event

Hi

How can i change background of dataview on mouse over event…, i used code as

data.attachEvent(“onMouseMove”, function (id, ev, html){

html = "<div style='background-image:url('Resources/javascript/dhtmlxDataView/codebase/imgs/dataview/bg.gif');'>"+this.type.template(this.get(id))+"</div>";
  
       return true;
  });

but the background image is not changing , dataview item is also not accepting other image than which is defined in its js…, i tried to change background image by using

data = new dhtmlXDataView({
container:“data_container”,
type:{
padding:-5,
template:function(obj){

		            return "<div style='height:100%;white-space:nowrap; overflow:hidden;background-image:url('Resources/javascript/dhtmlxDataView/codebase/imgs/dataview/bg.gif');'>obj.itemname</div>";
		           
		        },
		        height:105,
		        width: 800
		    },
		    drag:"true"
		   
	
	});

but it is not affecting …can u please help me out…,

Hi,

you may use selection for highlighting item:

[code]data = new dhtmlXDataView({
select:true,

});

var activeId;
data.attachEvent(“onMouseMoving”,function(e){
var id = this.locate(e);
if(activeId!=id){
if(id){
if(activeId){
this.unselect(activeId)
}
this.select(id);
}
else
this.unselect(activeId);
activeId = id;
} [/code]
})