SmartClient Version: v9.1p_2016-01-13/PowerEdition Deployment (built 2016-01-13)
I currently have a ListGrid with an overrided getValueIcon function that will show an icon in a field if that field contains validation errors.
ListGrid previewGrid = new ListGrid(){
@Override
public String getValueIcon(ListGridField field, Object value, ListGridRecord record){
String error = record.getAttribute("validation_errors");
String errorHtml = "";
if(errors != null){
errorHtml = ImagesUtil.getValidationErrorIcon();
}
return errorHtml;
}
};
How do I set the hover text of the icon?
I currently have a ListGrid with an overrided getValueIcon function that will show an icon in a field if that field contains validation errors.
ListGrid previewGrid = new ListGrid(){
@Override
public String getValueIcon(ListGridField field, Object value, ListGridRecord record){
String error = record.getAttribute("validation_errors");
String errorHtml = "";
if(errors != null){
errorHtml = ImagesUtil.getValidationErrorIcon();
}
return errorHtml;
}
};
How do I set the hover text of the icon?
Comment