row display in a datagrid

G

Guest

Hello,

I want to display a single row in a datagrid. but this row has 28 attributes
and some of them are brief descriptions(2 to 3 lines). To display data nicely
i want my grid to enlarge in height and not in width, so columns have a
constant width where the title fits in and cells of the row enlarge in height
to fit the data content.
How can i do it?

Thank you.
 
G

Guest

Hi Philip,

If it's a web application, it's better to use DataList or Repeater. So you
can customize the layout.

HTH

Elton Wang
(e-mail address removed)
 
G

Guest

No Elton, it is not a web application.

Elton W said:
Hi Philip,

If it's a web application, it's better to use DataList or Repeater. So you
can customize the layout.

HTH

Elton Wang
(e-mail address removed)
 
G

Guest

You can think two solutions.

1) Create a custom control that can show your 28 attributes properly, then
manually loop thru data source to dynamically generate the control instances.
2) Use Master-Detail contents. Show ID and brief description in Master
datagrid, and when user move thru the datagrid to show detail contents in a
detail panel.

HTH

Elton Wang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top