title: dynamically changing headers in flex datagrid
body: <p>I currently have a datagrid with some hard coded values for the headers however I need one of the headers to change based on a paramater from a query. e.g the result of the query may be "result1". In this case I need the header of the column to be "result1". 
  I have tried running a query and assigning the result to a variable but have been unable to get the header to update each time the grid does. Is it possible to take this approach or is there another way?
  I am quite new to this</p>