Skip to main content
January 3, 2014
Question

auto refresh the cfgrid

  • January 3, 2014
  • 0 replies
  • 451 views

Hi,

  

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?

thanks

             

             

          

              <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);">

    This topic has been closed for replies.