title: Refresh Query / cxGrid
body: <p>Using Delphi XE2.</p>
  
  <p>I am writing a software package which uses cxGrids and are linked to Querys/Datasources.</p>
  
  <p>At a click of a button how do you refresh a Query to make sure the records are up to date in the cxGrids. </p>
  
  <p>Also if a record is highlighted on a cxGrid it must remember that record and doesn't reset back to the top of the grid.</p>