| Discussion Home | About | Threads By Date | Search |
Title
cfgrid combobox
Content
Hi, I'm having difficulties getting my cfgrid to refresh with the option selected from a combobox, and was hoping someone could point me in the right direction or even know how to fix it.
Included in the code snippets: 1) init function from .cfm, 2) getData function from .cfc
The combobox works and everything, but just doesn't refresh the grid with the selected item.
|
|
posted 03/15/10 by Sid Maestre | Report Abuse <p>Are you having the combo box trigger a "refresh" with Javascript?</p> <p>ColdFusion.Grid.refresh('myGrid',false);</p> <p>Also, are you binding your combo box value to the method that is populating your grid?</p> <p>I use this syntax for my CFgrid</p> <p><cfgrid</p> <p>.......</p> <p> bind="cfc:mycfc.getCompany({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},{cfgridfilter})"></p> <p>Just saw you posted this to bacfug@vfive.org. Good, this will yield more responses for you. </p> |