Yes , for sure it definately repaints it, but it seems that it repaints with
the same contents or updated contents of the Items loaded from the inital
dataprovider call ( iterator(int first, int count) ). If for example i want
to refresh that list with a NEW database call, or rebuild the list - then it
doesnt seem to do that.

If for example, i have an ordered list of items in the grid that is
determined by the model object (say, a property called position ), if i
update the postion field i would expect that i could write the new position
to the DB, reload the items with the same query (that was ordered by
postion) and then refresh the grid with everything moving into the correct
position. That doesnt seem to happen. The values get updated, but it doesnt
populate the grid with the NEW data from the db call. 



igor.vaynberg wrote:
> 
> webmarkupcontainer container=new webmarkupcontainer();
> container.setoutputmarkupid(true);
> container.add(new mygridview());
> 
> ...add(new ajaxlink() { onclick(target) { target.add(container); }});
> 
> will repaint the entire gridview via ajax.
> 
> -igor
> 
> On Sat, Mar 21, 2009 at 9:25 AM, ej595 <kiks...@yahoo.co.uk> wrote:
>>
>> Been spending some time with the Gridview repeater. Im using it for the
>> cols
>> and rows feature, and all seems great. However, it seems the dataprovider
>> is
>> only called once. If you have an ajax checkbox for example in your grid,
>> and
>> as a result of a click you want to update the ENTIRE item list, the i
>> seems
>> thats not permitted unless you reload the page.
>>
>> is this part of the gridview operation, or should i be looking at another
>> repeater (which has the row, cols feature)
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/GRIDVIEW-refresh----yes-or-no.-tp22637779p22637779.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/GRIDVIEW-refresh----yes-or-no.-tp22637779p22638572.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to