One inmethod datagrid question

2009-10-13 Thread François Jeunesse
Hi, First, thanks Matej for you job! Here is my question: I use the editable datagrid example, and I have added one column to permit deleting functionality. When one user click on delete a row, I modify my datasource, and call the ‘getGrid().setDefaultModelObject(new DataSource…)’

Re: One inmethod datagrid question

2009-10-13 Thread Matej Knopp
Why do you call getGrid().setDefaultModelObject() again? You should keep the same data source just let it output different data. -Matej 2009/10/13 François Jeunesse francois.jeune...@a-syst.com: Hi, First, thanks Matej for you job! Here is my question: I use the editable datagrid

RE: One inmethod datagrid question

2009-10-13 Thread François Jeunesse
: Matej Knopp [mailto:matej.kn...@gmail.com] Sent: mardi 13 octobre 2009 12:21 To: users@wicket.apache.org Subject: Re: One inmethod datagrid question Why do you call getGrid().setDefaultModelObject() again? You should keep the same data source just let it output different data. -Matej 2009/10/13