I have CF 8 running under IIS6.
I have a report that shows a table of data to the user. Each
record has Edit and Delete buttons. Both buttons trigger different
CFWindows that collect the edit data or perform the delete and then
confirm. After the user closes (hides) the CFWindow, the data that
the main report is based on has changed. How can I make the main
page either refresh or reload to show the user the changes?
Thanks in advance.
simplest way will be to reload the report page - you have
ColdFusion.Window.onHide() function available, in which you
refresh of the main page.
another way will be to modify data in the affected rows of
without refreshing the whole page - a lot more complicated
the DOM, which may be made a little simpler if your report
table is a
cfgrid binded to a cfc...
all the details and some examples are in the cf docs (cfml
dev guide), which you can download from adobe.com. more
examples are in various blogs...