I stand corrected as I missed one of your replies. I see now that you're using 
Ajax and you have a drop down of which value you would like to append an extra 
row to your table.

Yes, keep the list in memory if its small enough and add the enter in the 
correct place and the refresh the table via Ajax. As long as your data provider 
manipulates the same list it should work just fine.

If you want code examples let me know, I have plenty of those add new editable 
rows.

Have a great day,
Paul Bors

On Nov 24, 2012, at 1:03 AM, "Paul Borș" <[email protected]> wrote:

> Silly question, but do you refresh the table either via Ajax or a page 
> refresh by sending a parameter of your data provider through a constructor or 
> something?
> 
> Because simply manipulating the data provider will no magically redraw things 
> on the screen :)
> 
> Put a log or break in your data provider and see it for your self.
> 
> Have a great day,
> Paul Bors
> 
> On Nov 20, 2012, at 6:21 PM, anton <[email protected]> wrote:
> 
>> help please !!!!
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://apache-wicket.1842946.n4.nabble.com/Updating-datatable-ajax-tp4653734p4654051.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to