Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-04-19 Thread Musicman75
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

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-04-09 Thread Musicman75
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 wrote: > you have 100... > the t

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-04-09 Thread meyertee
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 and i

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-04-08 Thread Diego Lovison
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 wrote: > 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

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-04-08 Thread Musicman75
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 drag

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-04-08 Thread Diego Lovison
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 wrote: > why would you want to render 10 rows? :) > > On Fri, Apr 8, 2011 at 4:02 AM, Musicman75 > wrote: > > > > > > > > > > > @Sky > > Nice idea to incl

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-04-08 Thread Gal Dolber
why would you want to render 10 rows? :) On Fri, Apr 8, 2011 at 4:02 AM, Musicman75 wrote: > @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 i

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-04-08 Thread Musicman75
@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 a

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-02-17 Thread dflorey
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 unsubscri

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-02-16 Thread Sky
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 entire

GWT 2.2 CellTable dragging column widths with mouse ...

2011-02-16 Thread cloudycity
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 wo