Hi!
Have you tried a doLayout() call on the Panel where the grid is created?
Most of the time this makes a HUGE difference...
Anton
sekhar schrieb:
> Hi,
> I am seeing a strange problem. I want to create a grid when I click
> on the button. Below is the code which I am using. When I click on the
> Get Value button, the grid is getting created, but it is showing only
> when I click on some button on IE.(for ex search or favourites
> icon's). Is there anyway the I can show the grid when click on get
> value button. Is there anything that I am missing in my code.
>
> grid = new EditorGridPanel();
> Button button = new Button("Get Value",
> new ButtonListenerAdapter() {
>
> public void onClick(Button button, EventObject e) {
>
> String s = multiSelect.getValue();
>
> store.filter("common", s);
> grid.setStore(store);
> grid.setColumnModel
> (columnModel);
> grid.setWidth(500);
> grid.setHeight(300);
> grid.setAutoExpandColumn("common");
> grid.setTitle("Editor Grid Example");
> grid.setFrame(true);
> grid.setClicksToEdit(1);
> gridPanel.add(grid);
> panel.add(gridPanel);
>
>
> }
>
> });
>
>
> Thanks in advance for any help.
>
> Thanks,
> Sekhar.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---