Showing only first part of the field in datagrid

A

Arbajram

Hi,

I have a XML file as datasource, and I bind it to datagrid.
Size of one of the columns in the dataset is quite long and I would like to
show only 20-30 characters in the datagrid (witk link "more"). How can it
be done?

Thx in advance
Armin
 
E

Eliyahu Goldin

Armin,

Make a template column including a control for the text and a link for
"more". Make a databind expression for the text that will clip the text and
make a databind expression for the link's "Visible" property that will
return True if the text was clipped.

Eliyahu
 

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

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,087
Members
48,773
Latest member
Kaybee

Latest Threads

Top