DataGrid changes, combining multiple columns under one heading, adding text, adding mouse overs
Posted on 2004-08-03
I'd like help making a few changes to a typical datagrid. I haven't been able to search for tutorials for these changes, because I'm not exactly sure what to search for.
1. I'd like to combine three columns under one heading. For example, the heading should be called Description and the columns under it are grade, season, and year.
2. I'd like to add text in each cell along with the data from the database. For example, under one heading named 'Registration', the text should be 'starting date' with a date from one db column, and 'ending date' with a date from another db column.
3. I'd like to add a link column to the datagrid with an image that changes when the mouse goes over it.
4. I'd like to add a tooltip to the element that says something like 'click here to go to 'name'', with name being a value from the database.
I really appreciate any tips or links to some tutorials for these changes. Thanks.