valtsmazurs / google-web-toolkit-incubator

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

Feature request: ScrollTable onColumnResized event #90

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I propose that an event-listener class is created for the ScrollTable, 
something along the lines of ScrollTableListener.

The most important event in this listener would be onColumnResized. It 
should be fired when the user has finished resizing a column (i.e released 
the mouse-button).

This way one could for example save the table state when the user resizes 
the columns.

Original issue reported on code.google.com by jonas.be...@swift.com on 17 Apr 2008 at 4:09

GoogleCodeExporter commented 8 years ago
can you give a use case where this would be important? Also, check out the event
handlers gwt-incubator doc, as that is what the table event handling will be
rewritten to use.

Original comment by ecc%google.com@gtempaccount.com on 17 Jun 2008 at 5:36

GoogleCodeExporter commented 8 years ago
A simple use case would be the following:

I want to be able to save the column widths of a table. When the user resizes 
the 
table an event be generated so that the application can send the column width 
to the 
server. In order to minimize client-to-server traffic, the events should only 
be 
sent when the user has finished resizing the table. 

Original comment by jonas.be...@swift.com on 18 Jun 2008 at 9:39