making rows in a datagrid editable

  • Thread starter Thread starter Greg
  • Start date Start date
G

Greg

Does anyone know of a way to allow a user to click on a cell within a
datagrid and then edit the contents of that cell? Nearly all the topics
I've come across on Google appear to be for the webform version of the
control. However, I'm using a winform one. If it makes any difference,
mine is bound to an ArrayList.

I've played aound with the click event and beginedit() for quite a
while now - so if anyone could give me a tip or too I'd really
appreciate it!

Greg.
 
Thanks Ming. That implementation seemed quite lengthy - and after a bit
of fiddling with the datagrids properties I've managaed to make the
cells editable. I don't understand why I couldn't get that to work
earlier, but it seems to be fine now! Thanks - it was good to know the
PROPER way to do it!

Greg.
 
Back
Top