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
|
How do I control which columns can be tabbed to in edit mode? I have tried a few things like KeyboardNavigation, etc but doesn't appear to have an effect on the tabbing. Assuming this needs to be done by some kind of styling of the DataGridColumn or DataTemplate, but not having any luck. Can anyone reply with a simple example of styling a DataGridColumn to set KeyboardNavigation.IsTabStop to false on all items in a column? Something along these lines?
|
|
|
Hello Sorry for the trouble. DataGridColumn did not have support for KeyboardNavigation.IsTabStop. I have implemented this for you now which will be available in the next nightly build. The next nightly build will be available at around 1200 GMT (about 8 hours from now). If you are using a trial version of WPF Elements, you'll be able to get the next nightly build from here: http://www.mindscapehq.com/products/wpfelements/nightly-builds. Or if you have a paid version you'll be able to get the next nightly build from your account page: http://www.mindscapehq.com/store/myaccount. Once you've installed the next nightly build, you can set KeyboardNavigation.IsTabStop directly on the DataGridColumn instances and it will behave as expected. You will not need to do any custom styling/templating. Jason Fauchelle |
|
|
Great! Thanks! Spent a fair amount of time trying to reconcile features between DataGrids and this was the one thing that wasn't doing what I needed. Would also be great if you could add some support for AllowUsersToAddRows for objects with private constructors or using factories to instantiate. I have a workaround that I think is working OK, but this would make it much simpler. |
|