• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 957
  • Last Modified:

Detail listview with multiline text

Hi, I need a control to display records, but some string columns need to display the entire contents of the cell.  .NET by default cuts off the string and puts "..." at the end.  Basically I need a multiline column for a couple of columns in my row.

Listview would be great to use, but if there is another control out there, I'm open to suggestions!

1 Solution
Data grid can be used for this purpose you need to customize the grid.


I am not sure if you can customize the ListView in same manner. You can try out.

>>.NET by default cuts off the string and puts "..." at the end
what control are u currently using?
As suggested datagrid would be a nice control .. u can bind a datatable or dataset to a datagrid ..
datagrid1.datasource = urdataset
so it becomes easier to control it .. the width of each column can be set using the datagrid's propertybuilder .. so set the column width as per ur requirement and the cells will wrap the data (if the wrap text is checked for that column .. again using the property builder) when the data is greater than the set width

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now