You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by nino martinez wael <ni...@gmail.com> on 2010/04/26 16:00:05 UTC
inmethod grid / Delete/add a row?
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: inmethod grid / Delete/add a row?
Posted by Thierry Peng <pe...@glue.ch>.
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 Lindgren<sw...@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-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: inmethod grid / Delete/add a row?
Posted by Swanthe Lindgren <sw...@megasol.se>.
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 Lindgren<sw...@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-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: inmethod grid / Delete/add a row?
Posted by nino martinez wael <ni...@gmail.com>.
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 <sw...@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-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: inmethod grid / Delete/add a row?
Posted by Swanthe Lindgren <sw...@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org