Column Filter [message #2434] |
Wed, 03 February 2010 10:50 |
gpatti
Messages: 283 Registered: August 2008
|
Senior Member |
|
|
I'd like to try and implement a column filter but not sure how it might be achieved within the framework.
I have a standard list2 screen and would like the user to be able to filter the rows displayed without having to go to a search screen, by selecting a value from a dropdown - almost like an extension to the functionality described in FAQ72 (i.e. a dropdown rather than a button).
In a perfect world this functionality might be built into the oolumn heading via a config setup (idea for an enhancement maybe?)
Is the basic function possible within the existing framework somehow?
|
|
|
|
|
Re: Column Filter [message #2437 is a reply to message #2436] |
Wed, 03 February 2010 19:36 |
AJM
Messages: 2367 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
A 'dummy' entity is one where there are no database reads or writes, but you can retrieve data from the database if you want to. Although an attempt will be made to update the database, if the $fieldarray is empty then the update will be skipped.
You can modify the contents of the $fieldspec array in the _cm_changeConfig() method. This is where you specify any new fields and their controls.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|