PDA

View Full Version : Problem with widget rendering in a grid in IE7.



arkadye
3 Aug 2009, 9:55 AM
I have a grid with button widgets in one of the columns. First time when the page renders everything works fine. When I navigate to another page and then navigate to this page again (by removing the panel that contains the grid and that adding it back) all the buttons in the grid disappear. The rest of the data is there. It happens only when the render() method of the cell renderer returns GXT widget. If it returns a String or GWT Hyperlink widget, everything works fine. It is IE7 specific - everything works fine in Firefox and Chrome.

Any help will be appreciated.

Thanks.

arkadye
11 Aug 2009, 10:50 AM
Since nobody replied to my question so far I am wondering, am I the only one who has this problem (which means I am doing something wrong) or nobody knows how to solve it (whoch may mean that there is a bug in GXT)?

Any help will be greatly appreciated.

Thanks in advance.

Arno.Nyhm
13 Aug 2009, 12:47 AM
because you dont provide any working sample code it not easy to understand, see and digg in your problem.

yafmbl
17 Aug 2009, 5:42 PM
Hi ,
I have posted a problem like yours.
There is also sample code.
You can generate your sample from there maybe.

https://extjs.com/forum/showthread.php?t=77884

reecegwt
21 Oct 2009, 9:59 PM
hi,

i have the similar problem.

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