Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vertical DataGrid? 1

Status
Not open for further replies.

AppzDev

MIS
Oct 9, 2002
57
US
I was wondering if anyone has ever created a vertical datagrid? What i'm looking to do is have my headers be vertical, along the left, and all the values displayed horizontally going across. So, as best i can demonstrate:

David's DataGrid
----------------------------------------------------
Header1 | Databound Databound Databound Databound |
Header2 | Databound Databound Databound Databound |
Header3 | Databound Databound Databound Databound |
Header4 | Databound Databound Databound Databound |
----------------------------------------------------

I have tried a datalist but aren't getting the results i want. What i'm trying to show is Lab Values as the "Databound" part with the Header 1-4 being things like CBC, RBC etc. i'd like to have 5 results going across with the ability to page through them etc.

I will be greatly indebted to anyone that can point me in the right direction on this.

Thank You,

dc~
 
Nest a datalist in a datagrid by using a template column. You could also create your own control and nest that.

Datagrid
Col1 = Header Text
Col2 = ->>Datalist

set the datalist's datasource to a function in your code behind that returns an array based on header and the datagrids pageindex. Bind each datalist in the datagrids Itembinding event.

I know this is vague, but this is a complecated problem that you will have to play with.

Look at these reports to get ideas on how this can be done.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top