Flexigrid - Lightweight but rich data grid |
[eluser]paulopmx[/eluser]
[quote author="mrpaul" date="1214033348"][quote author="paulopmx" date="1214026008"] Hi, You are trying to reCreate flexigrid on the fly upon select change, which is not really recommendable. Try my sample on how to attach a form in this url http://webplicity.net/flexigrid/sample1.html Then add an event to the onSelect with something like $(listID).flexOptions({newp:1}).flexReload(); Hope this helps. Paulo[/quote] This looks awesome man... EXACTLY what I was looking for. Is there anyway to NOT include the submit button? As in once you change the Select's value or once you check a box, can it reload flex?[/quote] yes you can do 1 of two things, 1. you can trigger the submit, by doing adding this to the onchange event of select control: Code: <select onselect="$(this).parents('form').trigger('submit')" > 2. or Code: <select onselect="$('#flexigridid').flexigrid({newp:1}).flexReload();" > 1 method is more appropriate than the other, it depends on your form. Paulo |
Welcome Guest, Not a member yet? Register Sign In |