How to change list items color on onmouseover and onmouseOut and adding scroll bar
Hi
In the following code i am generating list in gridcell for this i want to add
color to dropdown list on onmouseover and onmouseOut pls help me how to do this
and also i want to add scroll bars(both horizontal and vertical)
combo = new AW.Templates.Combo;
combo.setItemText(fetchComponentDataFromRemote(colList[m].dataHook));
this.obj.setCellTemplate(combo, m);
var self = this;
this.obj.setPopupTemplate(function(col, row){
var grid = this;
var list = new AW.UI.List;
var labels = self.getComboTextLabels(col);
var plabels = labels;
var values = self.getComboValues(col);
list.setItemText(plabels);
list.setItemCount(plabels.length);
list.onItemClicked = function(event, i){
var text = this.getItemText(i);
grid.setCellText(labels[i], col, row);
grid.setCellValue(values[i], col, row);
grid.getCellTemplate(col, row).hidePopup();
}
return list;
});
Thanks in Advance
Sufiya Khan
In the following code i am generating list in gridcell for this i want to add
color to dropdown list on onmouseover and onmouseOut pls help me how to do this
and also i want to add scroll bars(both horizontal and vertical)
combo = new AW.Templates.Combo;
combo.setItemText(fetchComponentDataFromRemote(colList[m].dataHook));
this.obj.setCellTemplate(combo, m);
var self = this;
this.obj.setPopupTemplate(function(col, row){
var grid = this;
var list = new AW.UI.List;
var labels = self.getComboTextLabels(col);
var plabels = labels;
var values = self.getComboValues(col);
list.setItemText(plabels);
list.setItemCount(plabels.length);
list.onItemClicked = function(event, i){
var text = this.getItemText(i);
grid.setCellText(labels[i], col, row);
grid.setCellValue(values[i], col, row);
grid.getCellTemplate(col, row).hidePopup();
}
return list;
});
Thanks in Advance
Sufiya Khan
sufiya
June 28,