You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by adp <ad...@gmail.com> on 2010/06/30 16:24:18 UTC

How to customize the pages of a DataTable, DataView or DataGrid.

Friends, there is some way to customize the pages of a DataTable, DataView or
DataGrid, meaning that with each page to load only the data in memory at the
time. please expect some response. Thank you very much.
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-customize-the-pages-of-a-DataTable-DataView-or-DataGrid-tp2272728p2272728.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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


Re: How to customize the pages of a DataTable, DataView or DataGrid.

Posted by midikem <an...@gmail.com>.
The load by each page i fixed with my sql where i picked out a sequence of
data. Makes the defaultdatatable works fine in my oppinion.
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-customize-the-pages-of-a-DataTable-DataView-or-DataGrid-tp2272728p2274705.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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


Re: How to customize the pages of a DataTable, DataView or DataGrid.

Posted by adp <ad...@gmail.com>.
Now I'll review it. Thank you.

if you have any information about this, please send me.
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-customize-the-pages-of-a-DataTable-DataView-or-DataGrid-tp2272728p2274247.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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


Re: How to customize the pages of a DataTable, DataView or DataGrid.

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
loading page by page is fully supported by DefaultDataTable or
AjaxFallbackDefaultDataTable via IDataProvider interface. Did you have
a look at those?

Ernesto

On Wed, Jun 30, 2010 at 10:35 PM, adp <ad...@gmail.com> wrote:
>
> I need to implement a data table in wicket with load on demand.
> The problem in use the existent implementations is that they load in advance
> all data and if that data contains a lot of rows, it may produce memory
> errors.
> Then, I need find (if it exists) a way to implement the load on demand (load
> by each page)
>
> Thanks in advance!
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-customize-the-pages-of-a-DataTable-DataView-or-DataGrid-tp2272728p2274194.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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: How to customize the pages of a DataTable, DataView or DataGrid.

Posted by James Carman <ja...@carmanconsulting.com>.
You don't have to load all the data.  You can "page" the data in your
data provider.

On Wed, Jun 30, 2010 at 4:35 PM, adp <ad...@gmail.com> wrote:
>
> I need to implement a data table in wicket with load on demand.
> The problem in use the existent implementations is that they load in advance
> all data and if that data contains a lot of rows, it may produce memory
> errors.
> Then, I need find (if it exists) a way to implement the load on demand (load
> by each page)
>
> Thanks in advance!
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-customize-the-pages-of-a-DataTable-DataView-or-DataGrid-tp2272728p2274194.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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: How to customize the pages of a DataTable, DataView or DataGrid.

Posted by adp <ad...@gmail.com>.
I need to implement a data table in wicket with load on demand. 
The problem in use the existent implementations is that they load in advance
all data and if that data contains a lot of rows, it may produce memory
errors.
Then, I need find (if it exists) a way to implement the load on demand (load
by each page)

Thanks in advance!

-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-customize-the-pages-of-a-DataTable-DataView-or-DataGrid-tp2272728p2274194.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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


Re: How to customize the pages of a DataTable, DataView or DataGrid.

Posted by Jeremy Thomerson <je...@wickettraining.com>.
On Wed, Jun 30, 2010 at 9:24 AM, adp <ad...@gmail.com> wrote:

>
> Friends, there is some way to customize the pages of a DataTable, DataView
> or
> DataGrid, meaning that with each page to load only the data in memory at
> the
> time. please expect some response. Thank you very much.
>
>
What do you mean?  I don't understand the question.  If you're saying "can I
make it load a single page at a time", the answer is yes.  The data provider
is responsible for doing that.

-- 
Jeremy Thomerson
http://www.wickettraining.com