DataGrid

  • Thread starter Thread starter Alfred Roth
  • Start date Start date
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
 
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.
 
Back
Top