Hi Yuling,

We don't have such a widget. I don't think it's too much work to make it a
configuration option of WTableView to render itself in paged mode even if
JS is available, but the on-demand loading is so much nicer (usability
wise) that we haven't had a real feature request for this yet.

If you want to modify WTableView to see if this just works (no guarantees),
check WTableView.C and search for 'ajax' - trick the tableview in believing
that there is no ajax. The most of the work is done in the constructor, but
it may be that there are other places where you encounter problems.

BR,
Wim.



2013/4/30 Yuling Li <liyul...@caltech.edu>

> 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:w...@emweb.be]
> *Sent:* Tuesday, April 30, 2013 12:26 AM
> *To:* witty-interest@lists.sourceforge.net
> *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 <liyul...@caltech.edu>****
>
> 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
> witty-interest@lists.sourceforge.net
> 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
> witty-interest@lists.sourceforge.net
> 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
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to