SfTextBoxExt keyboard selection not working in GridTemplateColumn?

when i select something from the drop down list using the keyboard, nothing gets selected.
but when i use the mouse the selection works fine

i should note that my SfTextBoxExt is contained in GridTemplateColumn

i want to be able to use both, keyboard and mouse.

Edit: also SfTextBoxExt KeyUp event doesn't get fired when enter is pressed???

PS: am using wpf syncfusion 18.4.0.30

Attachment: SampleApp_8565acd5.zip

9 Replies 1 reply marked as answer

RS Ruba Shanmugam Syncfusion Team March 5, 2021 03:44 AM UTC

Hi Joseph,

Greetings from Syncfusion.

We are checking the reported issue and we will let you know the complete details on or before March 8,2021.

Regards,
Ruba Shanmugam


JO Joseph March 6, 2021 09:12 AM UTC

also, i don't wanna use SelectionChanged event because then the selection will happen without my permission...just by highlighting an item the selection happens automatically. i don't want that.

i want the selection to happen manually and only when i tell it to, using either keyboard or mouse .


RS Ruba Shanmugam Syncfusion Team March 8, 2021 12:36 PM UTC

Hi Joseph,

Thanks for your patience.

We would like to let you know that, the same SfTextBoxExt code is working fine outside of the GridTemplateColumn. Currently we are checking this issue with SfGrid, and we will update the completed details on or before March 10, 2021. We appreciate your patience until then.

Regards,
Ruba Shanmugam


RS Ruba Shanmugam Syncfusion Team March 10, 2021 01:15 PM UTC

Hi Joseph,

Thank you for your patience.

We deeply regret for the inconvenience. We are facing complexity while finding the root cause for the reported issue from our side, since it’s not working only with GridTemplateColumn EditTemplate. We are currently working on this with high priority. we will update the completed details on or before March 15, 2021. We appreciate your patience until then.

Regards,
Ruba Shanmugam 



RS Ruba Shanmugam Syncfusion Team March 15, 2021 12:45 PM UTC

Hi Joseph,

We appreciate your patience. After you further analysis when adding editor child controls inside the DataGrid set the VisualContainer.WantsMouseInput="True" for passing the keyboard navigation to the child elements. You can allow UIElement loaded inside CellTemplate or EditTemplate to handle mouse interaction in required cases by setting VisualContainer.WantsMouseInput attached property to the particular UIElement inside template.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/SampleApp_GridColumn-841999482

User guidance: https://help.syncfusion.com/wpf/datagrid/column-types#mouse-interaction-for-uielement-loaded-inside-template

Please let us know, if you have any other concerns.

Regards,
Ruba Shanmugam 



JO Joseph April 10, 2021 07:22 PM UTC

but now grid cell navigation using enter key doesn't work anymore? what can I do to solve this???


VS Vijayarasan Sivanandham Syncfusion Team April 12, 2021 03:59 PM UTC

Hi Joseph,

Thanks for the update.

Currently, we are analyzing your requirement of “grid cell navigation using enter key doesn't work in SfDataGrid” We will validate and update you the details on or before April 14, 2021. 
  
We appreciate your patience until then. 
 
Regards, 
Vijayarasan S 



VS Vijayarasan Sivanandham Syncfusion Team April 14, 2021 04:23 PM UTC

Hi Joseph,

Sorry for the inconvenience.   

We are still working on this. We will update with further details on or before
April 16, 2021. We appreciate your patience and understanding.

Regards,
Vijayarasan S
 



VS Vijayarasan Sivanandham Syncfusion Team April 16, 2021 07:09 PM UTC

Hi Joseph,

Thank you for your patience.

Based on provided information while using VisualContainer.WantsMouseInput property enabled case SfDataGrid key function are handled and child editor control key navigation should work. It’s a behavior of SfDataGrid control. For more information, please refer the below UG link,

UG Link: https://help.syncfusion.com/wpf/datagrid/editing#mouse-and-keyboard-operations-for-uielement-inside-template
 
In your previous update mentioned while select something from the drop-down list using the mouse the selection works fine. But keyboard selection does not work.

So, Your requirement can be achievd by enable the FocusManagerHelper.WantsKeyInput property in GridTempalteColumn. For more information, please refer the below UG link,

UG Link: https://help.syncfusion.com/wpf/datagrid/editing#providing-keyboard-control-to-uielement-inside-celltemplate
 
if you still facing the same issue? Can you please share us below things?       
        1. Provide the video illustration of the reported issue
        2.
If possible, provide the issue reproducible simple sample based on your scenario.

It will be helpful for us to check on it and provide you the solution at the earliest.

Regards,
Vijayarasan S  


Marked as answer
Loader.
Up arrow icon