Hello.
I need to make a column on grid to non-focusable.
So I set AllowFocus to False in xaml file.
When I put column in GridBand, this code occurs an exception that says
"Index was out of range. Must be non-negative and less than the size of the collection."
I attach an example.
Please give me a help, ASAP!!
Hi Song,
I don't see any exceptions in your sample (see the attached screencast). Am I missing any important steps? What DevExpress version is installed on your machine?
Thanks,
Alex
Select the Description column and press "<-" key on your keyboard.
You can see exception.
And I'm using DevExpress v15.1.6
Hi,
We have successfully reproduced the behavior you described and passed this ticket to our developers for further research. Please bear with us. We will notify you as soon as we make any progress.
Thanks,
Andrey
Hi.
I have a few days before I release my product. So I need the bug fixed as soon as possible.
Please give me a patch as fast as you can.
I believe you.
To avoid this specific exception, you can set TableView's AllowAdvancedHorizontalNavigation option to False. On the TableView.AllowAdvancedHorizontalNavigation Property page, you can find animations demonstrating how navigation works with different values of this property. Please let me know if you can use this option in your working project.