reecegwt
22 Oct 2009, 1:41 PM
hi,
Label when returned from a cell renderer is not visible in IE7.
label renderer:
public
Object render(ProductTypeModel model,
String property,
ColumnData config,
int rowIndex,
int colIndex,
ListStore<ProductTypeModel> store,
Grid<ProductTypeModel> grid)
{
LabelField descriptLabelField =
new LabelField();
descriptLabelField.setText(model.<String>get(property));
ToolTipConfig tooltipConfig = new ToolTipConfig("Click to view " +
"full details, or drag to your product list on the right");
ToolTip tooltip = new ToolTip(descriptLabelField, tooltipConfig);
tooltip.setId("openPopupTip");
tooltip.setFrame(false);
tooltip.setAutoHeight(false);
tooltip.setHeight(35);
tooltip.setWidth(340);
return descriptionLabelField;
}
if a string is returned it works properly,but i need label to set the tooltip.
Also,similarly when a custom widget extending Composite is returned from a cell rendere is not visible in IE7.
It works fine in chrome and firefox.
Any help will be appreciated
Thanks
reece
Label when returned from a cell renderer is not visible in IE7.
label renderer:
public
Object render(ProductTypeModel model,
String property,
ColumnData config,
int rowIndex,
int colIndex,
ListStore<ProductTypeModel> store,
Grid<ProductTypeModel> grid)
{
LabelField descriptLabelField =
new LabelField();
descriptLabelField.setText(model.<String>get(property));
ToolTipConfig tooltipConfig = new ToolTipConfig("Click to view " +
"full details, or drag to your product list on the right");
ToolTip tooltip = new ToolTip(descriptLabelField, tooltipConfig);
tooltip.setId("openPopupTip");
tooltip.setFrame(false);
tooltip.setAutoHeight(false);
tooltip.setHeight(35);
tooltip.setWidth(340);
return descriptionLabelField;
}
if a string is returned it works properly,but i need label to set the tooltip.
Also,similarly when a custom widget extending Composite is returned from a cell rendere is not visible in IE7.
It works fine in chrome and firefox.
Any help will be appreciated
Thanks
reece