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".
 
Or you could directly extend the class DataGridColumnStyle...
 
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.
 

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

Back
Top