This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Refresh datatable upon return/navigation  RSS feed

 
Mister Wang
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

I have a DataTable (file search) which has a list of files that are being processed. The DataTable has a hyperlink for each file, which navigates the user to the File Management screen. Here the user can modify attributes of the file. After saving these changes to the database, they are returned to the File Seach screen. At this point, I would like the datatable to refresh.

Any ideas?

Thanks,

Andy
 
Prasad Kumbhare
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest to use custom implementation of phase listener in this case. PhaseListener will execute after every phase or phase you mentioned. So after coming back from file management screen you can execute phase listener and get latest file attribute from database.
But with my experience of custom implementation of phase listener is, it takes some complex logic to determine when it should process or not.

Hoep this helps.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!