This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
In the image I'd like to expand a node (for instance "METALS & MINING" whenever the user double clicks anywhere in that row (say, double click on top of "-61" in column "Calls") How can I program that? |
|
|
Hello We have built in this functionality for you. This will be available in the next nightly build. Double clicking anywhere on a row including a cell or the row header will toggle the expansion state. This will of course respect the "can toggle state" custom logic for the first item that you mentioned in another post. Jason Fauchelle |
|
|
Hey Jason, The double clicking sometimes creates an exception (below). Thanks a lot. Nestor EDIT: I believe this happens when you double click on a node that does not have children.
|
|
|
Hello Nestor This bug will be resolved in the next nightly build. Jason Fauchelle |
|
|
Hi Jason, This sometimes works, and some other times doesn't !? Thanks, Nestor |
|
|
Hello Nestor This may be because of double clicking on certain elements. For example, double clicking an editor that has focus will swallow the double-click event making it difficult for the DataGrid to notice it. Is this the sort of situation that could be causing this issue at your end? or does it seem more random than this? i.e. double clicking the same thing in the same situation can sometimes work and sometimes fail? Please let us know more information about situations where it does and does not work so we can look into this further. Jason Fauchelle |
|
|
It looks like the double-clicking to expand stopped working in 6.0... |
|
|
Hello Nestor This is still working fine for me in 6.0. Could you please send the XAML code showing how you are setting up the DataGrid, or a repro project that I can debug. Jason Fauchelle |
|
|
Hmm.. sometimes it works and sometimes it doesn't... I'll let you know if I can isolate it. |
|