Hi Ernesto,

I'm using a "flavor" of wijqgrid. I took wijqgrid as a base code and made
major modifications to almost everything.

The second option is hacky and not good for me.
Eventually I want several columns with links to info page so registering the
dbl click row event will just interfere...

The first option is what I'm trying to achieve.
I'm looking for a way to render these wicket components at the server (as a
response to some behavior url) and then
send them in the json response to the grid.

still looking...

On Tue, May 25, 2010 at 1:41 PM, Ernesto Reinaldo Barreiro <
[email protected]> wrote:

> Hi Sam,
>
> Are you using [1]? Assuming the the answer is YES I see to options:
>
> -Modify the grid to be able to render arbitrary Wicket components as
> cells (it is in my TODO list but haven't had the time to look into
> it).
> -The grid already supports events. One possibly (hacky) solution is to
> try to OndblClickRowAjaxEvent and there use setResponsePage() to
> navigate to the page you want.
>
>  grid.addEvent(new OndblClickRowAjaxEvent<Person>() {
>
>                        private static final long serialVersionUID = 1L;
>
>                        @Override
>                        protected void ondblClickRow(AjaxRequestTarget
> target, int row, int
> col, IModel<Person> rowModel) {
>                                setResponsePage(new DetailPage(...));
>                        }
>                      });
>
> By the way, if you are using [1] I have moved development to
> http://code.google.com/p/wiquery-plugins/.
>
> Best,
>
> Ernesto
>
> References,
>
> 1-http://code.google.com/p/wijqgrid/
>
>

Reply via email to