DataGrid custom column?

  • Thread starter Thread starter Reinhard Lehner
  • Start date Start date
R

Reinhard Lehner

Hi there!

I want to implement custom columns (buttons or checkboxes) in a datagrid.
Is it possible or not?

If not - are there other ways to solve this problem, for example using a
listview or API-Calls?

Thank You very much
Reinhard
 
Yes, you have to extend the class DataGridTextBoxColumn and adding all that
you want. Search "extend DataGridTextBoxColumn".
 
That's it!!

Thanks's a lot
Reinhard

Angel Montesinos said:
Yes, you have to extend the class DataGridTextBoxColumn and adding all that
you want. Search "extend DataGridTextBoxColumn".
 
No problem.

I found out that there's no such method "GetColumnValueAtRow" for the
CompactFramework version of the datagrid.

So there is no chance to put a button or a checkbox into datagrid columns?

Thank's
Reinhard
 
There is a chance to put a control in a DataGrid, see the link I wrote in
the previous message.
 
Back
Top