----- Original Message ----
From: Murodullo Latifov <murodlatifov@yahoo.com>
To: DHIS 2 developers <dhis2-devs@lists.launchpad.net>
Sent: Mon, February 1, 2010 3:58:22 PM
Subject: Pagination
Hi all,
I have developed client side pagination for one of modules we use here in Tajikistan (see attached screen-shot). Could be useful for patient modules, as many records would be added into the same table. I am using jquery plugin for this. Its quite easy task to add for other modules like list of data elements and so on. What do you think? Later we could move to server side pagination?
That’s great. This plugin also provides sorting function I think
By the way, if we gonna apply this, I suggest that we add a Page Length combox which will have some predifined number of items in one page. So user can choose how many items they want to see in one page. And that value can also be saved to a cookie value for later visiting.
I have developed client side pagination for one of modules we use here in Tajikistan (see attached screen-shot). Could be useful for patient modules, as many records would be added into the same table. I am using jquery plugin for this. Its quite easy task to add for other modules like list of data elements and so on. What do you think? Later we could move to server side pagination?
This sounds like functionality that could be used in a more general forms model for DHIS2.
I have earlier asked for some simple functionality to be able to add some view properties to datasets, like sorting, sub headers, grey/disabled fields in tables and sub-tables.
To make use of the catcombo functionality and consequent sub-tables being generated in default data entry forms we really need this kind of functionality.
It is really frustrating to first spend a lot of time designing catcombos/sections for a dataset and then later finding out that the form has to be manually/custom designed anyway (even when the form is basically a few tables that could be auto-generated off the dataset and its catcombos/sections. Right now we can autogenerate these tables, but without sorting and grey fields, so we can’t use the default forms anyway. No EPI data clerk would like to use a form where all the vaccines are just randomly listed…
Ola Hodne Titlestad |Technical Officer|
Health Metrics Network (HMN) | World Health Organization
Avenue Appia 20 |1211 Geneva 27, Switzerland | Email: titlestado@who.int|Tel: +41 788216897
That’s great. This plugin also provides sorting function I think
By the way, if we gonna apply this, I suggest that we add a Page Length combox which will have some predifined number of items in one page. So user can choose how many items they want to see in one page. And that value can also be saved to a cookie value for later visiting.
I have developed client side pagination for one of modules we use here in Tajikistan (see attached screen-shot). Could be useful for patient modules, as many records would be added into the same table. I am using jquery plugin for this. Its quite easy task to add for other modules like list of data elements and so on. What do you think? Later we could move to server side pagination?