We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to automatically set grid cells to edit mode (GridMaskColumn)

Thread ID:

Created:

Updated:

Platform:

Replies:

131870 Aug 1,2017 05:38 AM Aug 3,2017 01:23 AM WPF 3
loading
Tags: SfDataGrid
Dennis Theel
Asked On August 1, 2017 05:38 AM

Hi, 

I am struggling to get the SfDataGrid to automatically change to edit mode when you change cells.

<syncfusion:SfDataGrid x:Name="dataGrid"
                               AllowEditing="True"
                               AllowFiltering="False"
                               AutoGenerateColumns="False"                               
                               EditorSelectionBehavior="SelectAll"
                               EditTrigger="OnTap"                               
                               ItemsSource="{Binding EmployeeDetails}"
                               LiveDataUpdateMode="AllowDataShaping"
                               NavigationMode="Cell">
            <syncfusion:SfDataGrid.Columns>
                <syncfusion:GridTextColumn HeaderText="Nr" MappingName="Number" AllowEditing="False"  />
                <syncfusion:GridTextColumn HeaderText="Vorname" MappingName="FirstName" AllowEditing="False" />
                <syncfusion:GridTextColumn HeaderText="Nachname" MappingName="LastName" AllowEditing="False" />
                <syncfusion:GridTextColumn HeaderText="V" MappingName="Foul" />
                <syncfusion:GridMaskColumn Mask="00:00" HeaderText="2" MappingName="TimeFoul" />
            </syncfusion:SfDataGrid.Columns>
        </syncfusion:SfDataGrid>

If I select the cell "foul", the cell is displayed correctly editable. However, when I select the "TimeFoul", nothing happens. I can write data and I can display this with F2, but not more. The "OnTap" does not work with the GridMaskColumn. What do I overlook?

Srinivasan Vasu [Syncfusion]
Replied On August 2, 2017 09:38 AM

Hi Dennis, 

We are unable to reproduce the reported “GridCell not entered in EditMode in single click of GridMaskColumn” issue with the given details. For your reference, we have attached the sample which we have used to reproduce the issue from our end and it has been tested against Syncfusion Essential Studio version 15.2.0.40 and 15.2.0.46. Please find the sample from the below link 


Kindly provide us your assembly version details which you are using to reproduce the issue along with the Syncfusion.SfGrid.WPF.dll assembly and modify the given sample for reproducing this issue from our end, thereby we will analyze further and update you with the appropriate solution as much as earlier. 


Regards, 
Srinivasan 


Dennis Theel
Replied On August 2, 2017 10:12 AM

Hi Srinivasan,

thank you for the reference. As you guessed right, it was the assembly. This was falsely automatically set to 15.2451.0.40 and not to 15.2460.0.40. After the conversion it works as in the sample.


Regards,

Dennis


Gnanasownthari Thirugnanam [Syncfusion]
Replied On August 3, 2017 01:23 AM

Hi Dennis, 
 
We are glad that your issue has been fixed 
Please let us know if you need any other assistance. 
 
Regards, 
Gnanasownthari T. 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;