I have a datasource setup (JSON) to populate a grid...Maybe I am missing something simple, but since the grid will be populated by the results of a query, the number of titles (and of course data type) for each column will change just about each time a query is run. How do I programmatically set the column headers and associated details based on the returned JSON?