Re: inmethod grid / Delete/add a row?

2010-04-28 Thread Swanthe Lindgren
The row model is probably easily accessible from your proposed delete 
column, but I don't know how to rerender a single row.


//Swanthe

On 2010-04-27 17:48, nino martinez wael wrote:

True... I am in the process of doing my own delete column, and expect
to have it working by tomorrow. I just need to be able to mark the
item dirty, somehow I either use the wrong model or the grid does not
pick it up. On either account it does not remove the delete row until
a manual refresh as is now.

regards Nino

2010/4/27 Swanthe Lindgrenswanthe.lindg...@megasol.se:
   

That is a part of the inmethod grid I find very hard, as its based solely on
a list of models. I haven't even found a way to know which row is selected,
even less which row is next to the selected row, which can be very useful
information when you wish to insert a row or select the row before/after the
row you just removed.

//Swanthe

On 2010-04-26 16:00, nino martinez wael wrote:
 

Hi

Are there any built in functionality to delete or add rows with
inmethod grid? Or should I just roll my own?

regards Nino

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



   


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


 

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


   



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



Re: inmethod grid / Delete/add a row?

2010-04-28 Thread Thierry Peng

Hello

I solved this problem some months ago and created a 
SubmitCancelDeleteColumn. A custom Grid Class provides the possibility 
to add a row.

I had to fork the inmethod-grid because some changes were necessary.
Drop me an email if you want the source code of this fork and the client 
code.


greetings


Swanthe Lindgren schrieb:
The row model is probably easily accessible from your proposed delete 
column, but I don't know how to rerender a single row.


//Swanthe

On 2010-04-27 17:48, nino martinez wael wrote:

True... I am in the process of doing my own delete column, and expect
to have it working by tomorrow. I just need to be able to mark the
item dirty, somehow I either use the wrong model or the grid does not
pick it up. On either account it does not remove the delete row until
a manual refresh as is now.

regards Nino

2010/4/27 Swanthe Lindgrenswanthe.lindg...@megasol.se:
  
That is a part of the inmethod grid I find very hard, as its based 
solely on
a list of models. I haven't even found a way to know which row is 
selected,
even less which row is next to the selected row, which can be very 
useful
information when you wish to insert a row or select the row 
before/after the

row you just removed.

//Swanthe

On 2010-04-26 16:00, nino martinez wael wrote:


Hi

Are there any built in functionality to delete or add rows with
inmethod grid? Or should I just roll my own?

regards Nino

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



   


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


 

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


   



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



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



Re: inmethod grid / Delete/add a row?

2010-04-27 Thread Swanthe Lindgren
That is a part of the inmethod grid I find very hard, as its based 
solely on a list of models. I haven't even found a way to know which row 
is selected, even less which row is next to the selected row, which can 
be very useful information when you wish to insert a row or select the 
row before/after the row you just removed.


//Swanthe

On 2010-04-26 16:00, nino martinez wael wrote:

Hi

Are there any built in functionality to delete or add rows with
inmethod grid? Or should I just roll my own?

regards Nino

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


   



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



Re: inmethod grid / Delete/add a row?

2010-04-27 Thread nino martinez wael
True... I am in the process of doing my own delete column, and expect
to have it working by tomorrow. I just need to be able to mark the
item dirty, somehow I either use the wrong model or the grid does not
pick it up. On either account it does not remove the delete row until
a manual refresh as is now.

regards Nino

2010/4/27 Swanthe Lindgren swanthe.lindg...@megasol.se:
 That is a part of the inmethod grid I find very hard, as its based solely on
 a list of models. I haven't even found a way to know which row is selected,
 even less which row is next to the selected row, which can be very useful
 information when you wish to insert a row or select the row before/after the
 row you just removed.

 //Swanthe

 On 2010-04-26 16:00, nino martinez wael wrote:

 Hi

 Are there any built in functionality to delete or add rows with
 inmethod grid? Or should I just roll my own?

 regards Nino

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





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



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