sjs994 / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
0 stars 0 forks source link

Event handling for custom widgets in BulkLoadedTable #31

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a custom widget which can process some events. For example I have
ImageCheckbox which displays different images depending on its state.
2. Create BulkLoadedTable and insert your custom widget into any table
cell. As we have only StringCellRenderer for Bulk Loaded tables we have to
convert any widgets into String in renderCell method to be able to render them.
3. Run your code.

As a result such table will display all your custom widgets fine.
But the problem is that no events are being passed to such widgets. So you
have only some kind of read-only ImageCheckboxes which can not react to any
events.

If we do not use BulkRenderer than all just works fine but rendering is
very slow (comparing to Bulk loaded table). 

I tested this using GWT 1.4.61 and the latest GWT Incubator sources.

Are there any ways to get this working? 

Thanks,
Leonid

Original issue reported on code.google.com by leon...@gmail.com on 19 Dec 2007 at 7:05

GoogleCodeExporter commented 8 years ago
This is a reasonably big problem we have overall. It is one we are actively 
working
for solutions to.  Right now, the best work around is to create the table, then
annotate it with your widgets. 

Original comment by gwt.team...@gmail.com on 21 Dec 2007 at 6:59

GoogleCodeExporter commented 8 years ago

Original comment by gwt.team...@gmail.com on 15 Jan 2008 at 7:40

GoogleCodeExporter commented 8 years ago

Original comment by sumitcha...@google.com on 2 May 2008 at 5:17

GoogleCodeExporter commented 8 years ago
Half year later is still has not been fixed

Original comment by abelon....@gmail.com on 1 Aug 2008 at 8:51

GoogleCodeExporter commented 8 years ago

Original comment by ecc%google.com@gtempaccount.com on 21 Aug 2008 at 7:53