You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by markR <ro...@yahoo.com> on 2012/11/27 22:45:01 UTC

a question on different data grid components available for wicket

I see that wicket-extensions has some data grid components, i also came
across inmethod-grid which also has similar components, is their any
relationship between these two projects, which one is wicket owned
components, any advise and information on uses would be helpful, which one
is preferred by wicket etc.

Thanks



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/a-question-on-different-data-grid-components-available-for-wicket-tp4654273.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: a question on different data grid components available for wicket

Posted by markR <ro...@yahoo.com>.
Thank you all.

Other that these two, are there any other components (paid or otherwise)
available to build rich data grid based applications using wicket that can
replace/match traditional client/server data grid applications in terms of
performance, functionalities and possibilities (with minimum coding of
course).




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/a-question-on-different-data-grid-components-available-for-wicket-tp4654273p4654311.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Ok.

On Wed, Dec 12, 2012 at 9:39 AM, Martin Grigorov <mg...@apache.org>wrote:

> Hi Ernesto,
>
> This change deserves a separate discussion in dev@.
>
>
>
> On Tue, Dec 11, 2012 at 7:58 PM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Martin,
> >
> > On Wed, Nov 28, 2012 at 9:25 AM, Martin Grigorov <mgrigorov@apache.org
> > >wrote:
> >
> > > On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
> > > reiern70@gmail.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <
> mgrigorov@apache.org
> > > > >wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > InMethod Grid is more smarter. It supports column reordering,
> > resizing,
> > > > > better Ajax support. But it is no active maintainer at the moment.
> > > > > Different community members provide patches when they need fixes
> but
> > > > that's
> > > > > all.
> > > > > It is also based on Yahoo UI v.2.
> > > > >
> > > > >
> > > > Maybe it is time to try to rewrite all column reordering, re-sizing
> > logic
> > > > based on jquery (instead of YUI). Now that jquery comes "for free"
> with
> > > > wicket 6.x
> > > >
> > > >
> > > I'm sure many users will be happy of such change.
> > > Even upgrading to YUI 3 will be a big improvement.
> > > The same is valid for wicket-datetime module.
> > >
> > >
> > What would be a good replacement/alternative for wicket-datetime in terms
> > of jquery?
> >
> > 1-http://jqueryui.com/datepicker/? Maybe also
> > http://trentrichardson.com/examples/timepicker/
> > 2-http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/
> > 3-http://keith-wood.name/datepick.html
> > 4-http://www.eyecon.ro/datepicker/
> > 4-Others?
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> > Antilia Soft
> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>



-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Martin Grigorov <mg...@apache.org>.
Hi Ernesto,

This change deserves a separate discussion in dev@.



On Tue, Dec 11, 2012 at 7:58 PM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Martin,
>
> On Wed, Nov 28, 2012 at 9:25 AM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
>
> > On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
> > reiern70@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <mgrigorov@apache.org
> > > >wrote:
> > >
> > > > Hi,
> > > >
> > > > InMethod Grid is more smarter. It supports column reordering,
> resizing,
> > > > better Ajax support. But it is no active maintainer at the moment.
> > > > Different community members provide patches when they need fixes but
> > > that's
> > > > all.
> > > > It is also based on Yahoo UI v.2.
> > > >
> > > >
> > > Maybe it is time to try to rewrite all column reordering, re-sizing
> logic
> > > based on jquery (instead of YUI). Now that jquery comes "for free" with
> > > wicket 6.x
> > >
> > >
> > I'm sure many users will be happy of such change.
> > Even upgrading to YUI 3 will be a big improvement.
> > The same is valid for wicket-datetime module.
> >
> >
> What would be a good replacement/alternative for wicket-datetime in terms
> of jquery?
>
> 1-http://jqueryui.com/datepicker/? Maybe also
> http://trentrichardson.com/examples/timepicker/
> 2-http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/
> 3-http://keith-wood.name/datepick.html
> 4-http://www.eyecon.ro/datepicker/
> 4-Others?
>
> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Martin,

On Wed, Nov 28, 2012 at 9:25 AM, Martin Grigorov <mg...@apache.org>wrote:

> On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Hi,
> >
> > On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <mgrigorov@apache.org
> > >wrote:
> >
> > > Hi,
> > >
> > > InMethod Grid is more smarter. It supports column reordering, resizing,
> > > better Ajax support. But it is no active maintainer at the moment.
> > > Different community members provide patches when they need fixes but
> > that's
> > > all.
> > > It is also based on Yahoo UI v.2.
> > >
> > >
> > Maybe it is time to try to rewrite all column reordering, re-sizing logic
> > based on jquery (instead of YUI). Now that jquery comes "for free" with
> > wicket 6.x
> >
> >
> I'm sure many users will be happy of such change.
> Even upgrading to YUI 3 will be a big improvement.
> The same is valid for wicket-datetime module.
>
>
What would be a good replacement/alternative for wicket-datetime in terms
of jquery?

1-http://jqueryui.com/datepicker/? Maybe also
http://trentrichardson.com/examples/timepicker/
2-http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/
3-http://keith-wood.name/datepick.html
4-http://www.eyecon.ro/datepicker/
4-Others?

-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Martin,

On Tue, Dec 4, 2012 at 9:28 AM, Martin Grigorov <mg...@apache.org>wrote:

> Great work, Ernesto !
>
> I just tried the samples application and the only problem that I've found
> is related to the editable grids.
> In both Editable Grid and Editable TreeGrid the 'ESC' keypress doesn't
> work.
> In Editable TreeGrid I can edit only folders but I can't edit leafs.
>
> Thanks for the feedback! I will look into those issues ASAP.


> Other than this I find it better than the YUI version. The column resizing
> and reordering works better than before!
> I'll update Brix and try it there before 6.4.0.
>
>
> On Mon, Dec 3, 2012 at 10:24 PM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Martin,
> >
> > All grid functionality seems to be ported to jquery... I have pushed the
> > changes  master.
> >
> >
> >
> https://github.com/wicketstuff/core/commit/85920962aa601e6114234caa9e7b2304c603ba49
> >
> > It would be nice if someone with a real application using inMethod grid
> can
> > give it a try.
> >
> > Cheers,
> >
> > Ernesto
> >
> > On Sat, Dec 1, 2012 at 5:40 PM, Ernesto Reinaldo Barreiro <
> > reiern70@gmail.com> wrote:
> >
> > > Martin,
> > >
> > > On Sat, Dec 1, 2012 at 5:20 PM, Martin Grigorov <mgrigorov@apache.org
> > >wrote:
> > >
> > >> Well done, Ernesto !
> > >>
> > >> Since YUI implementation will be preserved for some time I think it is
> > OK
> > >> to commit directly in master branch.
> > >> The announcement for WicketStuff 6.4.0 will have a special note about
> > this
> > >> change with a description how to use the old YUI impl.
> > >>
> > >> Ok. I will add a useYui flag and some javadoc for it,
> > >
> > >
> > >> Another problem that I see is that "Select All" checkbox is not
> selected
> > >> after using it.
> > >>
> > >>
> > > Thanks for the feedback, I will try fix that and the other issues
> > tomorrow.
> > >
> > >
> > >>
> > >> On Sat, Dec 1, 2012 at 5:07 PM, Ernesto Reinaldo Barreiro <
> > >> reiern70@gmail.com> wrote:
> > >>
> > >> > Martin.
> > >> >
> > >> > On Wed, Nov 28, 2012 at 9:25 AM, Martin Grigorov <
> > mgrigorov@apache.org
> > >> > >wrote:
> > >> >
> > >> > > On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
> > >> > > reiern70@gmail.com> wrote:
> > >> > >
> > >> > > > Hi,
> > >> > > >
> > >> > > > On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <
> > >> mgrigorov@apache.org
> > >> > > > >wrote:
> > >> > > >
> > >> > > > > Hi,
> > >> > > > >
> > >> > > > > InMethod Grid is more smarter. It supports column reordering,
> > >> > resizing,
> > >> > > > > better Ajax support. But it is no active maintainer at the
> > moment.
> > >> > > > > Different community members provide patches when they need
> fixes
> > >> but
> > >> > > > that's
> > >> > > > > all.
> > >> > > > > It is also based on Yahoo UI v.2.
> > >> > > > >
> > >> > > > >
> > >> > > > Maybe it is time to try to rewrite all column reordering,
> > re-sizing
> > >> > logic
> > >> > > > based on jquery (instead of YUI). Now that jquery comes "for
> free"
> > >> with
> > >> > > > wicket 6.x
> > >> > > >
> > >> > > >
> > >> > > I'm sure many users will be happy of such change.
> > >> > > Even upgrading to YUI 3 will be a big improvement.
> > >> > > The same is valid for wicket-datetime module.
> > >> > >
> > >> > >
> > >> > I have managed to port grid functionality  to  use jquery. See [1]
> > (just
> > >> > deployed a temporary version of the sample application).
> > >> >
> > >> > Issues.
> > >> >
> > >> > 1- sorting columns do not update grid properly.
> > >> > 2- Tree grid column reordering do work yet.
> > >> >
> > >> > I will try to fix those tomorrow.
> > >> >
> > >> > The only needed dependency is jquery itself.
> > >> >
> > >> > I will add a flag that allows to choose between jquery and YUI
> backed
> > >> grid
> > >> > (with default to jquery;-). Shall I commit those changes? Create a
> > >> branch?
> > >> > Or a patch?
> > >> >
> > >> > References,
> > >> >
> > >> > 1-http://antiliasoft.com/inmethod-grid-examples/
> > >> >
> > >> > --
> > >> > Regards - Ernesto Reinaldo Barreiro
> > >> > Antilia Soft
> > >> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> Martin Grigorov
> > >> jWeekend
> > >> Training, Consulting, Development
> > >> http://jWeekend.com <http://jweekend.com/>
> > >>
> > >
> > >
> > >
> > > --
> > > Regards - Ernesto Reinaldo Barreiro
> > > Antilia Soft
> > > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > >
> > >
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>



-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Yes, I see now. So, they both are regressions on 6.x.

On Tue, Dec 4, 2012 at 8:27 PM, Martin Grigorov <mg...@apache.org>wrote:

> I compared it against
> http://www.wicket-library.com/inmethod-grid/data-grid/simple?0 - this uses
> InMethod Grid 1.5 though
>
>
> On Tue, Dec 4, 2012 at 8:24 PM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Martin,
> >
> > On Tue, Dec 4, 2012 at 9:28 AM, Martin Grigorov <mgrigorov@apache.org
> > >wrote:
> >
> > > Great work, Ernesto !
> > >
> > > I just tried the samples application and the only problem that I've
> found
> > > is related to the editable grids.
> > > In both Editable Grid and Editable TreeGrid the 'ESC' keypress doesn't
> > > work.
> > >
> >
> > 'Esc' Keypress does not work either with YUI. It gives JS error.
> >
> > TypeError: elements[0].onclick is null
> >
> > row = findParent(row, "TR");
> >
> >
> >  I will also fix that.
> >
> >
> > > In Editable TreeGrid I can edit only folders but I can't edit leafs.
> > >
> > >
> > You can't edit leafs (also) with YUI based version (just checked that).
> So,
> > this might be a regression on YUI version?
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> > Antilia Soft
> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>



-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Martin,

Glad to be of some help...

Maybe next round of development should target replacing the use of (the now
deprecated) Tree component, with Sven's new Tree... Thought that might
prove more complicated and might also bring API breaks.


On Mon, Dec 10, 2012 at 12:40 PM, Martin Grigorov <mg...@apache.org>wrote:

> Ernesto,
>
> With its jQuery backend and recent fixes I think the grid component will
> become even more popular. See
> http://wicketinaction.com/2012/12/wicketstuff-download-stats-for-nov-2012/
>
>
> On Mon, Dec 10, 2012 at 11:15 AM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Martin,
> >
> > Many thanks!
> >
> > On Mon, Dec 10, 2012 at 11:08 AM, Martin Grigorov <mgrigorov@apache.org
> > >wrote:
> >
> > > Hi Ernesto,
> > >
> > > I've just applied your patch.
> > > Thanks!
> > >
> > >
> > > On Sat, Dec 8, 2012 at 3:58 PM, Ernesto Reinaldo Barreiro <
> > > reiern70@gmail.com> wrote:
> > >
> > > > This seems to be the problem.
> > > >
> > > > https://issues.apache.org/jira/browse/WICKET-4916
> > > >
> > > > With patch applied to my local wicket branch tree grid works as
> > expected.
> > > >
> > > > On Sat, Dec 8, 2012 at 11:27 AM, Ernesto Reinaldo Barreiro <
> > > > reiern70@gmail.com> wrote:
> > > >
> > > > > Martin,
> > > > >
> > > > > I think what is happening with tree-grid "edit" is that no
> "onclick"
> > > > > handlers are generated for newly added rows (when a node is
> > expanded).
> > > >  Any
> > > > > pointers on what might be causing that?
> > > > >
> > > > > On Tue, Dec 4, 2012 at 9:07 PM, Ernesto Reinaldo Barreiro <
> > > > > reiern70@gmail.com> wrote:
> > > > >
> > > > >> Fixed "return" and "ESC" on edit both for YUI and jquery.
> > > > >>
> > > > >>
> > > > >> On Tue, Dec 4, 2012 at 8:27 PM, Martin Grigorov <
> > mgrigorov@apache.org
> > > > >wrote:
> > > > >>
> > > > >>> I compared it against
> > > > >>> http://www.wicket-library.com/inmethod-grid/data-grid/simple?0 -
> > > this
> > > > >>> uses
> > > > >>> InMethod Grid 1.5 though
> > > > >>>
> > > > >>>
> > > > >>> On Tue, Dec 4, 2012 at 8:24 PM, Ernesto Reinaldo Barreiro <
> > > > >>> reiern70@gmail.com> wrote:
> > > > >>>
> > > > >>> > Martin,
> > > > >>> >
> > > > >>> > On Tue, Dec 4, 2012 at 9:28 AM, Martin Grigorov <
> > > > mgrigorov@apache.org
> > > > >>> > >wrote:
> > > > >>> >
> > > > >>> > > Great work, Ernesto !
> > > > >>> > >
> > > > >>> > > I just tried the samples application and the only problem
> that
> > > I've
> > > > >>> found
> > > > >>> > > is related to the editable grids.
> > > > >>> > > In both Editable Grid and Editable TreeGrid the 'ESC'
> keypress
> > > > >>> doesn't
> > > > >>> > > work.
> > > > >>> > >
> > > > >>> >
> > > > >>> > 'Esc' Keypress does not work either with YUI. It gives JS
> error.
> > > > >>> >
> > > > >>> > TypeError: elements[0].onclick is null
> > > > >>> >
> > > > >>> > row = findParent(row, "TR");
> > > > >>> >
> > > > >>> >
> > > > >>> >  I will also fix that.
> > > > >>> >
> > > > >>> >
> > > > >>> > > In Editable TreeGrid I can edit only folders but I can't edit
> > > > leafs.
> > > > >>> > >
> > > > >>> > >
> > > > >>> > You can't edit leafs (also) with YUI based version (just
> checked
> > > > >>> that). So,
> > > > >>> > this might be a regression on YUI version?
> > > > >>> >
> > > > >>> > --
> > > > >>> > Regards - Ernesto Reinaldo Barreiro
> > > > >>> > Antilia Soft
> > > > >>> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > > > >>> >
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>> --
> > > > >>> Martin Grigorov
> > > > >>> jWeekend
> > > > >>> Training, Consulting, Development
> > > > >>> http://jWeekend.com <http://jweekend.com/>
> > > > >>>
> > > > >>
> > > > >>
> > > > >>
> > > > >> --
> > > > >> Regards - Ernesto Reinaldo Barreiro
> > > > >> Antilia Soft
> > > > >> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > > > --
> > > > > Regards - Ernesto Reinaldo Barreiro
> > > > > Antilia Soft
> > > > > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Regards - Ernesto Reinaldo Barreiro
> > > > Antilia Soft
> > > > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > > >
> > >
> > >
> > >
> > > --
> > > Martin Grigorov
> > > jWeekend
> > > Training, Consulting, Development
> > > http://jWeekend.com <http://jweekend.com/>
> > >
> >
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> > Antilia Soft
> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>



-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Martin Grigorov <mg...@apache.org>.
Ernesto,

With its jQuery backend and recent fixes I think the grid component will
become even more popular. See
http://wicketinaction.com/2012/12/wicketstuff-download-stats-for-nov-2012/


On Mon, Dec 10, 2012 at 11:15 AM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Martin,
>
> Many thanks!
>
> On Mon, Dec 10, 2012 at 11:08 AM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
>
> > Hi Ernesto,
> >
> > I've just applied your patch.
> > Thanks!
> >
> >
> > On Sat, Dec 8, 2012 at 3:58 PM, Ernesto Reinaldo Barreiro <
> > reiern70@gmail.com> wrote:
> >
> > > This seems to be the problem.
> > >
> > > https://issues.apache.org/jira/browse/WICKET-4916
> > >
> > > With patch applied to my local wicket branch tree grid works as
> expected.
> > >
> > > On Sat, Dec 8, 2012 at 11:27 AM, Ernesto Reinaldo Barreiro <
> > > reiern70@gmail.com> wrote:
> > >
> > > > Martin,
> > > >
> > > > I think what is happening with tree-grid "edit" is that no "onclick"
> > > > handlers are generated for newly added rows (when a node is
> expanded).
> > >  Any
> > > > pointers on what might be causing that?
> > > >
> > > > On Tue, Dec 4, 2012 at 9:07 PM, Ernesto Reinaldo Barreiro <
> > > > reiern70@gmail.com> wrote:
> > > >
> > > >> Fixed "return" and "ESC" on edit both for YUI and jquery.
> > > >>
> > > >>
> > > >> On Tue, Dec 4, 2012 at 8:27 PM, Martin Grigorov <
> mgrigorov@apache.org
> > > >wrote:
> > > >>
> > > >>> I compared it against
> > > >>> http://www.wicket-library.com/inmethod-grid/data-grid/simple?0 -
> > this
> > > >>> uses
> > > >>> InMethod Grid 1.5 though
> > > >>>
> > > >>>
> > > >>> On Tue, Dec 4, 2012 at 8:24 PM, Ernesto Reinaldo Barreiro <
> > > >>> reiern70@gmail.com> wrote:
> > > >>>
> > > >>> > Martin,
> > > >>> >
> > > >>> > On Tue, Dec 4, 2012 at 9:28 AM, Martin Grigorov <
> > > mgrigorov@apache.org
> > > >>> > >wrote:
> > > >>> >
> > > >>> > > Great work, Ernesto !
> > > >>> > >
> > > >>> > > I just tried the samples application and the only problem that
> > I've
> > > >>> found
> > > >>> > > is related to the editable grids.
> > > >>> > > In both Editable Grid and Editable TreeGrid the 'ESC' keypress
> > > >>> doesn't
> > > >>> > > work.
> > > >>> > >
> > > >>> >
> > > >>> > 'Esc' Keypress does not work either with YUI. It gives JS error.
> > > >>> >
> > > >>> > TypeError: elements[0].onclick is null
> > > >>> >
> > > >>> > row = findParent(row, "TR");
> > > >>> >
> > > >>> >
> > > >>> >  I will also fix that.
> > > >>> >
> > > >>> >
> > > >>> > > In Editable TreeGrid I can edit only folders but I can't edit
> > > leafs.
> > > >>> > >
> > > >>> > >
> > > >>> > You can't edit leafs (also) with YUI based version (just checked
> > > >>> that). So,
> > > >>> > this might be a regression on YUI version?
> > > >>> >
> > > >>> > --
> > > >>> > Regards - Ernesto Reinaldo Barreiro
> > > >>> > Antilia Soft
> > > >>> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > > >>> >
> > > >>>
> > > >>>
> > > >>>
> > > >>> --
> > > >>> Martin Grigorov
> > > >>> jWeekend
> > > >>> Training, Consulting, Development
> > > >>> http://jWeekend.com <http://jweekend.com/>
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Regards - Ernesto Reinaldo Barreiro
> > > >> Antilia Soft
> > > >> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > Regards - Ernesto Reinaldo Barreiro
> > > > Antilia Soft
> > > > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > > >
> > > >
> > >
> > >
> > > --
> > > Regards - Ernesto Reinaldo Barreiro
> > > Antilia Soft
> > > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > >
> >
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com <http://jweekend.com/>
> >
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Martin,

Many thanks!

On Mon, Dec 10, 2012 at 11:08 AM, Martin Grigorov <mg...@apache.org>wrote:

> Hi Ernesto,
>
> I've just applied your patch.
> Thanks!
>
>
> On Sat, Dec 8, 2012 at 3:58 PM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > This seems to be the problem.
> >
> > https://issues.apache.org/jira/browse/WICKET-4916
> >
> > With patch applied to my local wicket branch tree grid works as expected.
> >
> > On Sat, Dec 8, 2012 at 11:27 AM, Ernesto Reinaldo Barreiro <
> > reiern70@gmail.com> wrote:
> >
> > > Martin,
> > >
> > > I think what is happening with tree-grid "edit" is that no "onclick"
> > > handlers are generated for newly added rows (when a node is expanded).
> >  Any
> > > pointers on what might be causing that?
> > >
> > > On Tue, Dec 4, 2012 at 9:07 PM, Ernesto Reinaldo Barreiro <
> > > reiern70@gmail.com> wrote:
> > >
> > >> Fixed "return" and "ESC" on edit both for YUI and jquery.
> > >>
> > >>
> > >> On Tue, Dec 4, 2012 at 8:27 PM, Martin Grigorov <mgrigorov@apache.org
> > >wrote:
> > >>
> > >>> I compared it against
> > >>> http://www.wicket-library.com/inmethod-grid/data-grid/simple?0 -
> this
> > >>> uses
> > >>> InMethod Grid 1.5 though
> > >>>
> > >>>
> > >>> On Tue, Dec 4, 2012 at 8:24 PM, Ernesto Reinaldo Barreiro <
> > >>> reiern70@gmail.com> wrote:
> > >>>
> > >>> > Martin,
> > >>> >
> > >>> > On Tue, Dec 4, 2012 at 9:28 AM, Martin Grigorov <
> > mgrigorov@apache.org
> > >>> > >wrote:
> > >>> >
> > >>> > > Great work, Ernesto !
> > >>> > >
> > >>> > > I just tried the samples application and the only problem that
> I've
> > >>> found
> > >>> > > is related to the editable grids.
> > >>> > > In both Editable Grid and Editable TreeGrid the 'ESC' keypress
> > >>> doesn't
> > >>> > > work.
> > >>> > >
> > >>> >
> > >>> > 'Esc' Keypress does not work either with YUI. It gives JS error.
> > >>> >
> > >>> > TypeError: elements[0].onclick is null
> > >>> >
> > >>> > row = findParent(row, "TR");
> > >>> >
> > >>> >
> > >>> >  I will also fix that.
> > >>> >
> > >>> >
> > >>> > > In Editable TreeGrid I can edit only folders but I can't edit
> > leafs.
> > >>> > >
> > >>> > >
> > >>> > You can't edit leafs (also) with YUI based version (just checked
> > >>> that). So,
> > >>> > this might be a regression on YUI version?
> > >>> >
> > >>> > --
> > >>> > Regards - Ernesto Reinaldo Barreiro
> > >>> > Antilia Soft
> > >>> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > >>> >
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Martin Grigorov
> > >>> jWeekend
> > >>> Training, Consulting, Development
> > >>> http://jWeekend.com <http://jweekend.com/>
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >> Regards - Ernesto Reinaldo Barreiro
> > >> Antilia Soft
> > >> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > >>
> > >>
> > >
> > >
> > > --
> > > Regards - Ernesto Reinaldo Barreiro
> > > Antilia Soft
> > > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> > >
> > >
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> > Antilia Soft
> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>



-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Martin Grigorov <mg...@apache.org>.
Hi Ernesto,

I've just applied your patch.
Thanks!


On Sat, Dec 8, 2012 at 3:58 PM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> This seems to be the problem.
>
> https://issues.apache.org/jira/browse/WICKET-4916
>
> With patch applied to my local wicket branch tree grid works as expected.
>
> On Sat, Dec 8, 2012 at 11:27 AM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Martin,
> >
> > I think what is happening with tree-grid "edit" is that no "onclick"
> > handlers are generated for newly added rows (when a node is expanded).
>  Any
> > pointers on what might be causing that?
> >
> > On Tue, Dec 4, 2012 at 9:07 PM, Ernesto Reinaldo Barreiro <
> > reiern70@gmail.com> wrote:
> >
> >> Fixed "return" and "ESC" on edit both for YUI and jquery.
> >>
> >>
> >> On Tue, Dec 4, 2012 at 8:27 PM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
> >>
> >>> I compared it against
> >>> http://www.wicket-library.com/inmethod-grid/data-grid/simple?0 - this
> >>> uses
> >>> InMethod Grid 1.5 though
> >>>
> >>>
> >>> On Tue, Dec 4, 2012 at 8:24 PM, Ernesto Reinaldo Barreiro <
> >>> reiern70@gmail.com> wrote:
> >>>
> >>> > Martin,
> >>> >
> >>> > On Tue, Dec 4, 2012 at 9:28 AM, Martin Grigorov <
> mgrigorov@apache.org
> >>> > >wrote:
> >>> >
> >>> > > Great work, Ernesto !
> >>> > >
> >>> > > I just tried the samples application and the only problem that I've
> >>> found
> >>> > > is related to the editable grids.
> >>> > > In both Editable Grid and Editable TreeGrid the 'ESC' keypress
> >>> doesn't
> >>> > > work.
> >>> > >
> >>> >
> >>> > 'Esc' Keypress does not work either with YUI. It gives JS error.
> >>> >
> >>> > TypeError: elements[0].onclick is null
> >>> >
> >>> > row = findParent(row, "TR");
> >>> >
> >>> >
> >>> >  I will also fix that.
> >>> >
> >>> >
> >>> > > In Editable TreeGrid I can edit only folders but I can't edit
> leafs.
> >>> > >
> >>> > >
> >>> > You can't edit leafs (also) with YUI based version (just checked
> >>> that). So,
> >>> > this might be a regression on YUI version?
> >>> >
> >>> > --
> >>> > Regards - Ernesto Reinaldo Barreiro
> >>> > Antilia Soft
> >>> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Martin Grigorov
> >>> jWeekend
> >>> Training, Consulting, Development
> >>> http://jWeekend.com <http://jweekend.com/>
> >>>
> >>
> >>
> >>
> >> --
> >> Regards - Ernesto Reinaldo Barreiro
> >> Antilia Soft
> >> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >>
> >>
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> > Antilia Soft
> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >
> >
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
This seems to be the problem.

https://issues.apache.org/jira/browse/WICKET-4916

With patch applied to my local wicket branch tree grid works as expected.

On Sat, Dec 8, 2012 at 11:27 AM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Martin,
>
> I think what is happening with tree-grid "edit" is that no "onclick"
> handlers are generated for newly added rows (when a node is expanded).  Any
> pointers on what might be causing that?
>
> On Tue, Dec 4, 2012 at 9:07 PM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
>> Fixed "return" and "ESC" on edit both for YUI and jquery.
>>
>>
>> On Tue, Dec 4, 2012 at 8:27 PM, Martin Grigorov <mg...@apache.org>wrote:
>>
>>> I compared it against
>>> http://www.wicket-library.com/inmethod-grid/data-grid/simple?0 - this
>>> uses
>>> InMethod Grid 1.5 though
>>>
>>>
>>> On Tue, Dec 4, 2012 at 8:24 PM, Ernesto Reinaldo Barreiro <
>>> reiern70@gmail.com> wrote:
>>>
>>> > Martin,
>>> >
>>> > On Tue, Dec 4, 2012 at 9:28 AM, Martin Grigorov <mgrigorov@apache.org
>>> > >wrote:
>>> >
>>> > > Great work, Ernesto !
>>> > >
>>> > > I just tried the samples application and the only problem that I've
>>> found
>>> > > is related to the editable grids.
>>> > > In both Editable Grid and Editable TreeGrid the 'ESC' keypress
>>> doesn't
>>> > > work.
>>> > >
>>> >
>>> > 'Esc' Keypress does not work either with YUI. It gives JS error.
>>> >
>>> > TypeError: elements[0].onclick is null
>>> >
>>> > row = findParent(row, "TR");
>>> >
>>> >
>>> >  I will also fix that.
>>> >
>>> >
>>> > > In Editable TreeGrid I can edit only folders but I can't edit leafs.
>>> > >
>>> > >
>>> > You can't edit leafs (also) with YUI based version (just checked
>>> that). So,
>>> > this might be a regression on YUI version?
>>> >
>>> > --
>>> > Regards - Ernesto Reinaldo Barreiro
>>> > Antilia Soft
>>> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>>> >
>>>
>>>
>>>
>>> --
>>> Martin Grigorov
>>> jWeekend
>>> Training, Consulting, Development
>>> http://jWeekend.com <http://jweekend.com/>
>>>
>>
>>
>>
>> --
>> Regards - Ernesto Reinaldo Barreiro
>> Antilia Soft
>> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>>
>>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>
>


-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Martin,

I think what is happening with tree-grid "edit" is that no "onclick"
handlers are generated for newly added rows (when a node is expanded).  Any
pointers on what might be causing that?

On Tue, Dec 4, 2012 at 9:07 PM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Fixed "return" and "ESC" on edit both for YUI and jquery.
>
>
> On Tue, Dec 4, 2012 at 8:27 PM, Martin Grigorov <mg...@apache.org>wrote:
>
>> I compared it against
>> http://www.wicket-library.com/inmethod-grid/data-grid/simple?0 - this
>> uses
>> InMethod Grid 1.5 though
>>
>>
>> On Tue, Dec 4, 2012 at 8:24 PM, Ernesto Reinaldo Barreiro <
>> reiern70@gmail.com> wrote:
>>
>> > Martin,
>> >
>> > On Tue, Dec 4, 2012 at 9:28 AM, Martin Grigorov <mgrigorov@apache.org
>> > >wrote:
>> >
>> > > Great work, Ernesto !
>> > >
>> > > I just tried the samples application and the only problem that I've
>> found
>> > > is related to the editable grids.
>> > > In both Editable Grid and Editable TreeGrid the 'ESC' keypress doesn't
>> > > work.
>> > >
>> >
>> > 'Esc' Keypress does not work either with YUI. It gives JS error.
>> >
>> > TypeError: elements[0].onclick is null
>> >
>> > row = findParent(row, "TR");
>> >
>> >
>> >  I will also fix that.
>> >
>> >
>> > > In Editable TreeGrid I can edit only folders but I can't edit leafs.
>> > >
>> > >
>> > You can't edit leafs (also) with YUI based version (just checked that).
>> So,
>> > this might be a regression on YUI version?
>> >
>> > --
>> > Regards - Ernesto Reinaldo Barreiro
>> > Antilia Soft
>> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>> >
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com <http://jweekend.com/>
>>
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>
>


-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Fixed "return" and "ESC" on edit both for YUI and jquery.

On Tue, Dec 4, 2012 at 8:27 PM, Martin Grigorov <mg...@apache.org>wrote:

> I compared it against
> http://www.wicket-library.com/inmethod-grid/data-grid/simple?0 - this uses
> InMethod Grid 1.5 though
>
>
> On Tue, Dec 4, 2012 at 8:24 PM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Martin,
> >
> > On Tue, Dec 4, 2012 at 9:28 AM, Martin Grigorov <mgrigorov@apache.org
> > >wrote:
> >
> > > Great work, Ernesto !
> > >
> > > I just tried the samples application and the only problem that I've
> found
> > > is related to the editable grids.
> > > In both Editable Grid and Editable TreeGrid the 'ESC' keypress doesn't
> > > work.
> > >
> >
> > 'Esc' Keypress does not work either with YUI. It gives JS error.
> >
> > TypeError: elements[0].onclick is null
> >
> > row = findParent(row, "TR");
> >
> >
> >  I will also fix that.
> >
> >
> > > In Editable TreeGrid I can edit only folders but I can't edit leafs.
> > >
> > >
> > You can't edit leafs (also) with YUI based version (just checked that).
> So,
> > this might be a regression on YUI version?
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> > Antilia Soft
> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>



-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Martin Grigorov <mg...@apache.org>.
I compared it against
http://www.wicket-library.com/inmethod-grid/data-grid/simple?0 - this uses
InMethod Grid 1.5 though


On Tue, Dec 4, 2012 at 8:24 PM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Martin,
>
> On Tue, Dec 4, 2012 at 9:28 AM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
>
> > Great work, Ernesto !
> >
> > I just tried the samples application and the only problem that I've found
> > is related to the editable grids.
> > In both Editable Grid and Editable TreeGrid the 'ESC' keypress doesn't
> > work.
> >
>
> 'Esc' Keypress does not work either with YUI. It gives JS error.
>
> TypeError: elements[0].onclick is null
>
> row = findParent(row, "TR");
>
>
>  I will also fix that.
>
>
> > In Editable TreeGrid I can edit only folders but I can't edit leafs.
> >
> >
> You can't edit leafs (also) with YUI based version (just checked that). So,
> this might be a regression on YUI version?
>
> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Martin,

On Tue, Dec 4, 2012 at 9:28 AM, Martin Grigorov <mg...@apache.org>wrote:

> Great work, Ernesto !
>
> I just tried the samples application and the only problem that I've found
> is related to the editable grids.
> In both Editable Grid and Editable TreeGrid the 'ESC' keypress doesn't
> work.
>

'Esc' Keypress does not work either with YUI. It gives JS error.

TypeError: elements[0].onclick is null

row = findParent(row, "TR");


 I will also fix that.


> In Editable TreeGrid I can edit only folders but I can't edit leafs.
>
>
You can't edit leafs (also) with YUI based version (just checked that). So,
this might be a regression on YUI version?

-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Martin Grigorov <mg...@apache.org>.
Great work, Ernesto !

I just tried the samples application and the only problem that I've found
is related to the editable grids.
In both Editable Grid and Editable TreeGrid the 'ESC' keypress doesn't work.
In Editable TreeGrid I can edit only folders but I can't edit leafs.

Other than this I find it better than the YUI version. The column resizing
and reordering works better than before!
I'll update Brix and try it there before 6.4.0.


On Mon, Dec 3, 2012 at 10:24 PM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Martin,
>
> All grid functionality seems to be ported to jquery... I have pushed the
> changes  master.
>
>
> https://github.com/wicketstuff/core/commit/85920962aa601e6114234caa9e7b2304c603ba49
>
> It would be nice if someone with a real application using inMethod grid can
> give it a try.
>
> Cheers,
>
> Ernesto
>
> On Sat, Dec 1, 2012 at 5:40 PM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Martin,
> >
> > On Sat, Dec 1, 2012 at 5:20 PM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
> >
> >> Well done, Ernesto !
> >>
> >> Since YUI implementation will be preserved for some time I think it is
> OK
> >> to commit directly in master branch.
> >> The announcement for WicketStuff 6.4.0 will have a special note about
> this
> >> change with a description how to use the old YUI impl.
> >>
> >> Ok. I will add a useYui flag and some javadoc for it,
> >
> >
> >> Another problem that I see is that "Select All" checkbox is not selected
> >> after using it.
> >>
> >>
> > Thanks for the feedback, I will try fix that and the other issues
> tomorrow.
> >
> >
> >>
> >> On Sat, Dec 1, 2012 at 5:07 PM, Ernesto Reinaldo Barreiro <
> >> reiern70@gmail.com> wrote:
> >>
> >> > Martin.
> >> >
> >> > On Wed, Nov 28, 2012 at 9:25 AM, Martin Grigorov <
> mgrigorov@apache.org
> >> > >wrote:
> >> >
> >> > > On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
> >> > > reiern70@gmail.com> wrote:
> >> > >
> >> > > > Hi,
> >> > > >
> >> > > > On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <
> >> mgrigorov@apache.org
> >> > > > >wrote:
> >> > > >
> >> > > > > Hi,
> >> > > > >
> >> > > > > InMethod Grid is more smarter. It supports column reordering,
> >> > resizing,
> >> > > > > better Ajax support. But it is no active maintainer at the
> moment.
> >> > > > > Different community members provide patches when they need fixes
> >> but
> >> > > > that's
> >> > > > > all.
> >> > > > > It is also based on Yahoo UI v.2.
> >> > > > >
> >> > > > >
> >> > > > Maybe it is time to try to rewrite all column reordering,
> re-sizing
> >> > logic
> >> > > > based on jquery (instead of YUI). Now that jquery comes "for free"
> >> with
> >> > > > wicket 6.x
> >> > > >
> >> > > >
> >> > > I'm sure many users will be happy of such change.
> >> > > Even upgrading to YUI 3 will be a big improvement.
> >> > > The same is valid for wicket-datetime module.
> >> > >
> >> > >
> >> > I have managed to port grid functionality  to  use jquery. See [1]
> (just
> >> > deployed a temporary version of the sample application).
> >> >
> >> > Issues.
> >> >
> >> > 1- sorting columns do not update grid properly.
> >> > 2- Tree grid column reordering do work yet.
> >> >
> >> > I will try to fix those tomorrow.
> >> >
> >> > The only needed dependency is jquery itself.
> >> >
> >> > I will add a flag that allows to choose between jquery and YUI backed
> >> grid
> >> > (with default to jquery;-). Shall I commit those changes? Create a
> >> branch?
> >> > Or a patch?
> >> >
> >> > References,
> >> >
> >> > 1-http://antiliasoft.com/inmethod-grid-examples/
> >> >
> >> > --
> >> > Regards - Ernesto Reinaldo Barreiro
> >> > Antilia Soft
> >> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >> >
> >>
> >>
> >>
> >> --
> >> Martin Grigorov
> >> jWeekend
> >> Training, Consulting, Development
> >> http://jWeekend.com <http://jweekend.com/>
> >>
> >
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> > Antilia Soft
> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >
> >
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Martin,

All grid functionality seems to be ported to jquery... I have pushed the
changes  master.

https://github.com/wicketstuff/core/commit/85920962aa601e6114234caa9e7b2304c603ba49

It would be nice if someone with a real application using inMethod grid can
give it a try.

Cheers,

Ernesto

On Sat, Dec 1, 2012 at 5:40 PM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Martin,
>
> On Sat, Dec 1, 2012 at 5:20 PM, Martin Grigorov <mg...@apache.org>wrote:
>
>> Well done, Ernesto !
>>
>> Since YUI implementation will be preserved for some time I think it is OK
>> to commit directly in master branch.
>> The announcement for WicketStuff 6.4.0 will have a special note about this
>> change with a description how to use the old YUI impl.
>>
>> Ok. I will add a useYui flag and some javadoc for it,
>
>
>> Another problem that I see is that "Select All" checkbox is not selected
>> after using it.
>>
>>
> Thanks for the feedback, I will try fix that and the other issues tomorrow.
>
>
>>
>> On Sat, Dec 1, 2012 at 5:07 PM, Ernesto Reinaldo Barreiro <
>> reiern70@gmail.com> wrote:
>>
>> > Martin.
>> >
>> > On Wed, Nov 28, 2012 at 9:25 AM, Martin Grigorov <mgrigorov@apache.org
>> > >wrote:
>> >
>> > > On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
>> > > reiern70@gmail.com> wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <
>> mgrigorov@apache.org
>> > > > >wrote:
>> > > >
>> > > > > Hi,
>> > > > >
>> > > > > InMethod Grid is more smarter. It supports column reordering,
>> > resizing,
>> > > > > better Ajax support. But it is no active maintainer at the moment.
>> > > > > Different community members provide patches when they need fixes
>> but
>> > > > that's
>> > > > > all.
>> > > > > It is also based on Yahoo UI v.2.
>> > > > >
>> > > > >
>> > > > Maybe it is time to try to rewrite all column reordering, re-sizing
>> > logic
>> > > > based on jquery (instead of YUI). Now that jquery comes "for free"
>> with
>> > > > wicket 6.x
>> > > >
>> > > >
>> > > I'm sure many users will be happy of such change.
>> > > Even upgrading to YUI 3 will be a big improvement.
>> > > The same is valid for wicket-datetime module.
>> > >
>> > >
>> > I have managed to port grid functionality  to  use jquery. See [1] (just
>> > deployed a temporary version of the sample application).
>> >
>> > Issues.
>> >
>> > 1- sorting columns do not update grid properly.
>> > 2- Tree grid column reordering do work yet.
>> >
>> > I will try to fix those tomorrow.
>> >
>> > The only needed dependency is jquery itself.
>> >
>> > I will add a flag that allows to choose between jquery and YUI backed
>> grid
>> > (with default to jquery;-). Shall I commit those changes? Create a
>> branch?
>> > Or a patch?
>> >
>> > References,
>> >
>> > 1-http://antiliasoft.com/inmethod-grid-examples/
>> >
>> > --
>> > Regards - Ernesto Reinaldo Barreiro
>> > Antilia Soft
>> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>> >
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com <http://jweekend.com/>
>>
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>
>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Martin,

On Sat, Dec 1, 2012 at 5:20 PM, Martin Grigorov <mg...@apache.org>wrote:

> Well done, Ernesto !
>
> Since YUI implementation will be preserved for some time I think it is OK
> to commit directly in master branch.
> The announcement for WicketStuff 6.4.0 will have a special note about this
> change with a description how to use the old YUI impl.
>
> Ok. I will add a useYui flag and some javadoc for it,


> Another problem that I see is that "Select All" checkbox is not selected
> after using it.
>
>
Thanks for the feedback, I will try fix that and the other issues tomorrow.


>
> On Sat, Dec 1, 2012 at 5:07 PM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Martin.
> >
> > On Wed, Nov 28, 2012 at 9:25 AM, Martin Grigorov <mgrigorov@apache.org
> > >wrote:
> >
> > > On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
> > > reiern70@gmail.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <
> mgrigorov@apache.org
> > > > >wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > InMethod Grid is more smarter. It supports column reordering,
> > resizing,
> > > > > better Ajax support. But it is no active maintainer at the moment.
> > > > > Different community members provide patches when they need fixes
> but
> > > > that's
> > > > > all.
> > > > > It is also based on Yahoo UI v.2.
> > > > >
> > > > >
> > > > Maybe it is time to try to rewrite all column reordering, re-sizing
> > logic
> > > > based on jquery (instead of YUI). Now that jquery comes "for free"
> with
> > > > wicket 6.x
> > > >
> > > >
> > > I'm sure many users will be happy of such change.
> > > Even upgrading to YUI 3 will be a big improvement.
> > > The same is valid for wicket-datetime module.
> > >
> > >
> > I have managed to port grid functionality  to  use jquery. See [1] (just
> > deployed a temporary version of the sample application).
> >
> > Issues.
> >
> > 1- sorting columns do not update grid properly.
> > 2- Tree grid column reordering do work yet.
> >
> > I will try to fix those tomorrow.
> >
> > The only needed dependency is jquery itself.
> >
> > I will add a flag that allows to choose between jquery and YUI backed
> grid
> > (with default to jquery;-). Shall I commit those changes? Create a
> branch?
> > Or a patch?
> >
> > References,
> >
> > 1-http://antiliasoft.com/inmethod-grid-examples/
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> > Antilia Soft
> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>



-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Martin Grigorov <mg...@apache.org>.
Well done, Ernesto !

Since YUI implementation will be preserved for some time I think it is OK
to commit directly in master branch.
The announcement for WicketStuff 6.4.0 will have a special note about this
change with a description how to use the old YUI impl.

Another problem that I see is that "Select All" checkbox is not selected
after using it.


On Sat, Dec 1, 2012 at 5:07 PM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Martin.
>
> On Wed, Nov 28, 2012 at 9:25 AM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
>
> > On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
> > reiern70@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <mgrigorov@apache.org
> > > >wrote:
> > >
> > > > Hi,
> > > >
> > > > InMethod Grid is more smarter. It supports column reordering,
> resizing,
> > > > better Ajax support. But it is no active maintainer at the moment.
> > > > Different community members provide patches when they need fixes but
> > > that's
> > > > all.
> > > > It is also based on Yahoo UI v.2.
> > > >
> > > >
> > > Maybe it is time to try to rewrite all column reordering, re-sizing
> logic
> > > based on jquery (instead of YUI). Now that jquery comes "for free" with
> > > wicket 6.x
> > >
> > >
> > I'm sure many users will be happy of such change.
> > Even upgrading to YUI 3 will be a big improvement.
> > The same is valid for wicket-datetime module.
> >
> >
> I have managed to port grid functionality  to  use jquery. See [1] (just
> deployed a temporary version of the sample application).
>
> Issues.
>
> 1- sorting columns do not update grid properly.
> 2- Tree grid column reordering do work yet.
>
> I will try to fix those tomorrow.
>
> The only needed dependency is jquery itself.
>
> I will add a flag that allows to choose between jquery and YUI backed grid
> (with default to jquery;-). Shall I commit those changes? Create a branch?
> Or a patch?
>
> References,
>
> 1-http://antiliasoft.com/inmethod-grid-examples/
>
> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Martin.

On Wed, Nov 28, 2012 at 9:25 AM, Martin Grigorov <mg...@apache.org>wrote:

> On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Hi,
> >
> > On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <mgrigorov@apache.org
> > >wrote:
> >
> > > Hi,
> > >
> > > InMethod Grid is more smarter. It supports column reordering, resizing,
> > > better Ajax support. But it is no active maintainer at the moment.
> > > Different community members provide patches when they need fixes but
> > that's
> > > all.
> > > It is also based on Yahoo UI v.2.
> > >
> > >
> > Maybe it is time to try to rewrite all column reordering, re-sizing logic
> > based on jquery (instead of YUI). Now that jquery comes "for free" with
> > wicket 6.x
> >
> >
> I'm sure many users will be happy of such change.
> Even upgrading to YUI 3 will be a big improvement.
> The same is valid for wicket-datetime module.
>
>
I have managed to port grid functionality  to  use jquery. See [1] (just
deployed a temporary version of the sample application).

Issues.

1- sorting columns do not update grid properly.
2- Tree grid column reordering do work yet.

I will try to fix those tomorrow.

The only needed dependency is jquery itself.

I will add a flag that allows to choose between jquery and YUI backed grid
(with default to jquery;-). Shall I commit those changes? Create a branch?
Or a patch?

References,

1-http://antiliasoft.com/inmethod-grid-examples/

-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Hi,

Let me see if I can find some time to "give it a shoot" this weekend. Drag
and drop and column re-size should not be that difficult to rewrite in
terms of jquery d&d.

On Wed, Nov 28, 2012 at 9:25 AM, Martin Grigorov <mg...@apache.org>wrote:

> On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Hi,
> >
> > On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <mgrigorov@apache.org
> > >wrote:
> >
> > > Hi,
> > >
> > > InMethod Grid is more smarter. It supports column reordering, resizing,
> > > better Ajax support. But it is no active maintainer at the moment.
> > > Different community members provide patches when they need fixes but
> > that's
> > > all.
> > > It is also based on Yahoo UI v.2.
> > >
> > >
> > Maybe it is time to try to rewrite all column reordering, re-sizing logic
> > based on jquery (instead of YUI). Now that jquery comes "for free" with
> > wicket 6.x
> >
> >
> I'm sure many users will be happy of such change.
> Even upgrading to YUI 3 will be a big improvement.
> The same is valid for wicket-datetime module.
>
>
> > --
> > Regards - Ernesto Reinaldo Barreiro
> > Antilia Soft
> > http://antiliasoft.com/ <http://antiliasoft.com/antilia>
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>



-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Martin Grigorov <mg...@apache.org>.
On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Hi,
>
> On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
>
> > Hi,
> >
> > InMethod Grid is more smarter. It supports column reordering, resizing,
> > better Ajax support. But it is no active maintainer at the moment.
> > Different community members provide patches when they need fixes but
> that's
> > all.
> > It is also based on Yahoo UI v.2.
> >
> >
> Maybe it is time to try to rewrite all column reordering, re-sizing logic
> based on jquery (instead of YUI). Now that jquery comes "for free" with
> wicket 6.x
>
>
I'm sure many users will be happy of such change.
Even upgrading to YUI 3 will be a big improvement.
The same is valid for wicket-datetime module.


> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: a question on different data grid components available for wicket

Posted by Pierre Goupil <go...@gmail.com>.
Good afternoon,


On Wed, Nov 28, 2012 at 2:49 PM, Nick Pratt <nb...@gmail.com> wrote:

> I'll
> push it to SVN or Github soon.
>


I'd be happy to see that!


Regards,

Pierre



-- 
Le bonheur n'est pas une destination, mais une façon de voyager.

Papa d'une petite Lou-Ann depuis le 30 juin.

Re: a question on different data grid components available for wicket

Posted by Nick Pratt <nb...@gmail.com>.
Ive been working on an improved DataTables.net wrapper for Wicket.  Its
applied as a Behavior on top of the existing Wicket repeaters/datatables -
with one caveat that the Behavior requires a <table> element to work with
that has a "complete" structure -  <table>, <thead>, <tbody>.  With some
assistance from Martin Ive got the expandable details panels working -
these load dynamically via Ajax.  Datatables supports most of the things
you listed there, as well as many others (client side pagination, sorting,
multi-column sort, client side search/filtering) etc.  The Behavior can
overlay its functionality on top of pre-rendered information in the DOM, or
it can be configured to retrieve data from the server via AJAX. You can
also configure server side paging and filtering/searching if your data set
is really big.  It's still a work-in-progress but Im using it now in an
application I'm developing so the API is being tweaked as I use it.  I'll
push it to SVN or Github soon.




On Wed, Nov 28, 2012 at 3:22 AM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Hi,
>
> On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
>
> > Hi,
> >
> > InMethod Grid is more smarter. It supports column reordering, resizing,
> > better Ajax support. But it is no active maintainer at the moment.
> > Different community members provide patches when they need fixes but
> that's
> > all.
> > It is also based on Yahoo UI v.2.
> >
> >
> Maybe it is time to try to rewrite all column reordering, re-sizing logic
> based on jquery (instead of YUI). Now that jquery comes "for free" with
> wicket 6.x
>
> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>

Re: a question on different data grid components available for wicket

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Hi,

On Wed, Nov 28, 2012 at 9:14 AM, Martin Grigorov <mg...@apache.org>wrote:

> Hi,
>
> InMethod Grid is more smarter. It supports column reordering, resizing,
> better Ajax support. But it is no active maintainer at the moment.
> Different community members provide patches when they need fixes but that's
> all.
> It is also based on Yahoo UI v.2.
>
>
Maybe it is time to try to rewrite all column reordering, re-sizing logic
based on jquery (instead of YUI). Now that jquery comes "for free" with
wicket 6.x

-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: a question on different data grid components available for wicket

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

InMethod Grid is more smarter. It supports column reordering, resizing,
better Ajax support. But it is no active maintainer at the moment.
Different community members provide patches when they need fixes but that's
all.
It is also based on Yahoo UI v.2.


On Tue, Nov 27, 2012 at 10:45 PM, markR <ro...@yahoo.com> wrote:

> I see that wicket-extensions has some data grid components, i also came
> across inmethod-grid which also has similar components, is their any
> relationship between these two projects, which one is wicket owned
> components, any advise and information on uses would be helpful, which one
> is preferred by wicket etc.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/a-question-on-different-data-grid-components-available-for-wicket-tp4654273.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>