How to double click DataGrid?

B

Brett Romero

I'm allowing double clicks on a DataGrid by using a counter and timing.
However, the user must click two different cells for the double click
to work. The reason is once they click into a cell, it can be edited.
At that point, a double click does nothing. Is there a way to disable
editing on a DataGrid so the double click will work off of one cell
rather than two?

I'm also doing
DataGridTextBoxColumnvar.TextBox.Enabled = false;

which has no affect and probably isn't what I'm looking for.

Thanks,
Brett
 
M

Michael Nemtsev

Hello Brett,

Hope this hepls (with sample) http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx#q869q

BR> I'm allowing double clicks on a DataGrid by using a counter and
BR> timing.
BR> However, the user must click two different cells for the double
BR> click
BR> to work. The reason is once they click into a cell, it can be
BR> edited.
BR> At that point, a double click does nothing. Is there a way to
BR> disable editing on a DataGrid so the double click will work off of
BR> one cell rather than two?
BR>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 

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

Top