DataGrid

A

Alfred Roth

Hello,

I decided to use a datagrid for the first time. Some questions:

* Is it possible to autosize the columns like listviewcolumns ?
* I set the readonly property to true but when I click a cell a pencil
appears at the front of the row and a cursor inside the cell. Can I
avoid this?

Thanks for your help
 
A

Andy O'Neill

Alfred Roth said:
Hello,

I decided to use a datagrid for the first time. Some questions:

* Is it possible to autosize the columns like listviewcolumns ?
* I set the readonly property to true but when I click a cell a pencil
appears at the front of the row and a cursor inside the cell. Can I avoid
this?

Thanks for your help

A windows datagrid?
George shepherd's faq has example code for the autosize.
IIRC set the datagridtablestyle.readonly = false.
 

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