0 Replies Latest reply on Jan 3, 2014 9:58 AM by LisaN

    auto refresh the cfgrid

    LisaN Level 1



      I am displaying the search results into the cfgrid.   The date field is using the datepicker calendar and I have to click on the fresh button below to refresh the search results.  It worked  fine with onkeyup below, if I manual enter the date into the textbox instead to pick  from the calendar.  How can I have it autofresh when i pick the date from the calendar?






                    <cfinput type="text" name="Dateadded_from" id="datepicker_from" value="#form.Dateadded_from#" onkeyup="ColdFusion.Grid.refresh('grid01', true);" />


                    <cfinput type="button" name="refresh" id="refresh" value="Refresh Results" class="greybutton" onclick="ColdFusion.Grid.refresh('grid01', false);">