Hi Wim,

 

 

Thanks a lot for your reply. So WTableView is by default one page (scrolling
based) for any Javascrip-enable browsers. What widget would you recommend if
I want to have a static( more traditional) table that has paging bars , it
displays data on 1 to N pages.

 

 

Thanks,

Yuling

 

From: Wim Dumon [mailto:[email protected]] 
Sent: Tuesday, April 30, 2013 12:26 AM
To: [email protected]
Subject: Re: [Wt-interest] How to set pages on WTableView?

 

Hello Yuling,

A WTableView loads data on demand as you scroll, so it's perfect for large
data sets (thousands of rows/columns), even without paging. When the widget
is rendered on a browser with JavaScript disabled, it will be rendered with
a paging bar. At that time, the pageCount() and currentPage() methods are
useful.

BR,
Wim.

 

2013/4/30 Yuling Li <[email protected]>

Hi,

 

I used the example in gallery:

http://www.webtoolkit.eu/widgets/trees-tables/mvc-table-views

 

which maps a "csv" file to a table. 

 

I was wondering how to set the page size? Right now it is only ONE page. And
also I see something like pageCount(), currentPage() functions in tableview,
but  couldn't find how to set a page size(so that the data is split into
multiple pages)?

 

Thanks a lot,

Yuling


----------------------------------------------------------------------------
--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

 

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to