Using DataGrid to edit non database data

  • Thread starter Thread starter bob
  • Start date Start date
B

bob

Hello,
I'm trying to use the datagrid control to edit normal objects, like a
collection of 2D points.

I've used DataGridTableStyle and DataGridColumnStyle to get it show
the two properties, X and Y, but I can't figure out how to allow the
user to enter data. The keyUp event never seems to fire.

Any ideas?

Thanks,
Bob
 
Look at the Edit Item properties. There are several. You may have to do something like a "begin edit" and "end edit" and then force a refresh or something. If it is bound to a table see if the changes show there as well.
 

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