Here's my implementation to handle column resizing.
I created the CellTable class in my SourceTree with same package name
as Google named it.
I extended the onBrowserEvent2 function with my resizing function:
// Forward the event to the associated header, footer, or column.
boolean
I'll have to implement the same in pure html/js soon, my strategy so far was
to put some markup in the table header that creates an element on the right
side of the header to trigger the resize-cursor and the mouse-events.
I saw the same thing here http://bz.var.ru/comp/web/resizable.html and in
That's right, but if the user wants to sort the data in another way,
it takes to much time to ask the database again.
Trust me, I tried it. Database design it's very complicated and each
query has to join at least five tables.
On 8 Apr., 14:36, Diego Lovison diegolovi...@gmail.com wrote:
you
@Sky
Nice idea to include resizing on mouse dragging.
Any implementation available?
I checked out the ScrollTable from incubator, but it's too slow
(rendering with more than 10 rows is impossible).
The resizing functionallity from the Scrolltable implemented together
with CellTable would be
why would you want to render 10 rows? :)
On Fri, Apr 8, 2011 at 4:02 AM, Musicman75 stephan.beu...@googlemail.comwrote:
@Sky
Nice idea to include resizing on mouse dragging.
Any implementation available?
I checked out the ScrollTable from incubator, but it's too slow
(rendering with
If you would like rende 1000 rows I suggest you use lazy render...
you can find this in gxt and smartgwt
On 8 abr, 09:23, Gal Dolber gal.dol...@gmail.com wrote:
why would you want to render 10 rows? :)
On Fri, Apr 8, 2011 at 4:02 AM, Musicman75
stephan.beu...@googlemail.comwrote:
I don't want to render 10 rows, that's why I use the celltable and
it's paging functionality.
To handle the whole datatable on client side (sorting, filtering, ..)
without server calls every time.
CellTable can handle a big amount of data, the only thing I miss is
column resizing on mouse
you have 100...
the time to order in database is more fast that you return 10 and
sort on a client side...
;)
On 8 abr, 10:30, Musicman75 stephan.beu...@googlemail.com wrote:
I don't want to render 10 rows, that's why I use the celltable and
it's paging functionality.
To handle the
Did you check out the tables in the gwt incubator? They support resizing of
columns, fixed headers etc.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To
The new celltable does support setting column widths on the fly and
works great but ...
We would like to be able to use the mouse to drag the column widths to
a desired size by grabbing an edge of the header with the mouse. I
don't know how to accomplish this - I know it's not 'built-in' and we
I haven't done this, but it would be fun and not too hard, but not
exactly trivial.
You'll need to have very skinny cells that will represent your borders
and have either a graphic or a background color so it looks like a
border. Put some mouse handlers on these cells or use handlers on the
11 matches
Mail list logo