Re: Re: Search and filter features in datagrid / formbuilder

From: Date: Tue, 06 Jun 2006 09:51:23 +0000
Subject: Re: Re: Search and filter features in datagrid / formbuilder
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24264@lists.php.net to get a copy of this message
Hi, Michel D'HOOGE wrote:
Now my client asked me to add filtering/search capabilities to the datagrid list views, does anybody have already done it?
You can have a look at FormBuilder_Frontend. I'd say it is still a work in progress, but it is already quite nice. However, for me, it doesn't match my needs because I can't define ranges as a filter.
Michel, in regard to your range problem, I think you simply should create a custom form as Alessandro, and pass the ranges submitted by the user to $do->whereAdd() before you bind it to the datagrid. FormBuilder is supposed to help you editing rows, not creating such filtering forms. Regards, -- og

« previous php.pear.general (#24264) next »