Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 88681 invoked from network); 22 Jun 2009 13:38:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jun 2009 13:38:33 -0000 Received: (qmail 86300 invoked by uid 500); 22 Jun 2009 13:38:43 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 86214 invoked by uid 500); 22 Jun 2009 13:38:43 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 86204 invoked by uid 99); 22 Jun 2009 13:38:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jun 2009 13:38:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [145.58.169.70] (HELO tweehoog.vpro.nl) (145.58.169.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jun 2009 13:38:33 +0000 Received: from exmail.vpro.nl ([145.58.171.81] helo=VS-EX-01.intra.vpro.nl) by tweehoog.vpro.nl with esmtp (Exim 3.36 #1) id 1MIjir-0007AQ-00 for user@couchdb.apache.org; Mon, 22 Jun 2009 15:38:09 +0200 Received: from VS-EX-01.intra.vpro.nl ([145.58.171.81]) by VS-EX-01.intra.vpro.nl ([145.58.171.81]) with mapi; Mon, 22 Jun 2009 15:38:10 +0200 From: Nils Breunese To: "user@couchdb.apache.org" Date: Mon, 22 Jun 2009 15:34:58 +0200 Subject: RE: view sorting and group question? Thread-Topic: view sorting and group question? Thread-Index: Acny5dEHP3qbyyqcTtmT7W7nC9QVawAWGtU3 Message-ID: References: <69a992ac0906191748q160ac0fct5c26c408da593bbf@mail.gmail.com> <69a992ac0906191802l160d5937qf4b723bffd8c9928@mail.gmail.com> <69a992ac0906201915p5d3073l8af5812ed411d76d@mail.gmail.com>,<55047b710906212001i2a0aa70clb6e0d974f47be9fc@mail.gmail.com> In-Reply-To: <55047b710906212001i2a0aa70clb6e0d974f47be9fc@mail.gmail.com> Accept-Language: nl-NL Content-Language: nl-NL X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: nl-NL Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org ExtJS is not the only approach. There is a DataTable control for YUI, and t= he DataTables plugin for jQuery for instance. I've used the jQuery plugin m= yself and it was pretty easy. Nils Breunese. ________________________________________ Van: Nicholas Orr [nicholas.orr@zxgen.net] Verzonden: maandag 22 juni 2009 5:01 Aan: user@couchdb.apache.org Onderwerp: Re: view sorting and group question? You could use another tool like ExtJS on the client side to filter and sort results. I'm using the Ext.grid.GridPanel with a Ext.ux.data.JsonPagingStore. However there are things to consider with this particular approach. The JsonPagingStore retrieves the whole set of data returned from the view and stores it client side to filter & sort. Using start_key & end_key doesn't apply so if your data grows to be like 2000 records, 2000 records will be loaded by the grid :) I won't reach 30 records with what I'm doing so it's fine to have 30 record= s coming down the wire to the client. Plus other thing to consider with this approach is it means learning ExtJS which isn't exactly simple, take a bit of effort ;) Nick De informatie vervat in deze e-mail en meegezonden bijlagen is uitsluitend= bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informati= e bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekk= ing van deze informatie aan derden is voorbehouden aan geadresseerde. De VP= RO staat niet in voor de juiste en volledige overbrenging van de inhoud van= een verzonden e-mail, noch voor tijdige ontvangst daarvan.