- A note of caution
- SEE ALSO
- COPYRIGHT AND LICENSE
Maplat::Web::FiltertableSupport - alternative way of submitting hidden filterTable rows
Alternative way of submitting filterTable hidden rows via serialization.
The dataTable/filterTable jQuery plugin normally submits only visible rows.
There are multiple ways to force it to submit the hidden rows, too. Currently, this rows are re-added to the table before submitting the webform.
This module supports an alternative way. Just add a hidden input field called "xx_filter_table_xx" and fill it with a jQuery serialization of the hidden rows data fields before submit. The FiltertableSupport module then takes this input field during the prefilter phase, de-serializes it and re-injects all fields into the CGI params hash, effectivly making the whole process (mostly) transparent to the actual rendering modules.
<module> <modname>filtertablesupport</modname> <pm>FiltertableSupport</pm> <options> <!-- no options required --> </options> </module>
This module is highly experimental and did not work on every webform i tested. But in some special cases it might be worth the effort: Re-injecting a huge number of table rows at once into the DOM might trigger problems in the browser.
This module does not depend on other webgui modules.
Rene Schickbauer, <firstname.lastname@example.org>
Copyright (C) 2008-2011 by Rene Schickbauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.