I have configured a Store and loaded it by setting its DataSource to List<Employee>, The Employee object is mine. Then I set the StoreID of a grid to point at this Store.

The Employee object has many properties but the grid exists to display only a summary. Selecting a particular record in the grid displays a more detailed record list for the Employee.

The way I am doing this at the moment is to retrieve all the data for my search and store it in a Session variable before putting it into the Store.

Then when the user selects a row in the grid I can retrieve the required ID to access the correct Employee object in the Session variable List and display the details in a Form.

After I had done this and sat back and wondered if I had missed something about the Store.

I presume I could have loaded all the fields from my List<Employee> data into the Store (and dispensed with the Session variable) but then how do I access the detailed data when the user selects a grid row.