Re: Updating datatable ajax

2012-11-23 Thread Paul Borș
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

Re: Updating datatable ajax

2012-11-23 Thread Paul Borș
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

Re: Updating datatable ajax

2012-11-20 Thread Sven Meier
Show us the relevant code from your DataProvider. Sven anton wrote I use a class extends of DataProvider. The problem is that not change the values ​​in the table, no updating. ¿? -- View this message in context:

Re: Updating datatable ajax

2012-11-20 Thread Sven Meier
The interesting stuff is missing: How do you pass the input of your textField into your provider to limit/filter the values? Sven On 11/20/2012 04:13 PM, anton wrote: UserProvider.java https://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html -- View this message in context:

Re: Updating datatable ajax

2012-11-20 Thread Sven Meier
Please read here: http://stackoverflow.com/questions/7935227/apache-wicket-datatable-filtering-with-filtertoolbar-vs-manual-filtering Sven On 11/20/2012 08:48 PM, anton wrote: //UserProvider extends SortableDataProvider final ISortableDataProviderUser datatable = new

Re: Updating datatable ajax

2012-11-09 Thread Sven Meier
Why do you want to recreated the dataTable? Sven -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Updating-datatable-ajax-tp4653734p4653741.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Updating datatable ajax

2012-11-09 Thread Sven Meier
Normally you just add the table to the ART an when it regenerates its HTML it will use new data from your data provider. Sven anton antoniovalenciasp...@hotmail.com schrieb: depending on what you specify in the text appear one row or other. replaceWith,does not work -- View this message in

Re: Updating datatable ajax

2012-11-08 Thread Sven Meier
The markupId has to be rendered before the actual Ajax request: DefaultDataTable datatable = createDataTable(); datatable.setOutputMarkupId(true); text.add(new AjaxFormComponentUpdatingBehavior(onchange) { @Override protected void onUpdate(AjaxRequestTarget target) {