James Webb

James Webb

  • NA
  • 11
  • 9.6k

Displaying Data in a grid

Jul 7 2015 11:09 AM
I have been looking around for a few hours and I really can't find anything that seems to suit my needs. I'll describe what I need to create.
 
- a table with a fixed number of rows and collumns
- each cell in the table must display 3 key bits of information that I will have stored in a list of objects
- the user must be able to click on each cell and it will bring up more information about that object that is is displaying
- the cell must change colour according to the information it is displaying
 
I feel there aught to be a fairly easy way of doing this but I can't seem to find any way of solving this problem simply.
I have tried using dataGridView but that's more for databases (to clarify I am not displaying a database).
One thing that seemed likely to be my solution was the  tableLayoutPanel but I understand that is more for the layout of elements on the form and not for displaying data.
 
If anyone could suggest any way that I could solve this problem it would be very much appreciated.
 
Regards,
James