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.
Syncfusion Feedback

TimeSpanColumn not editing

Thread ID:

Created:

Updated:

Platform:

Replies:

123173 Feb 23,2016 02:10 PM UTC Feb 24,2016 08:56 AM UTC WPF 2
loading
Tags: SfDataGrid
Towerful
Asked On February 23, 2016 02:10 PM UTC

Hello,
I'm trying to get the TimeSpanColumn to work.  
According to the docs, the TimeSpanColumn displays as a string, and edits as a TimeSpanEdit control.  
I cannot seem to get this to work. The cell does not seem to allow editing.

xaml is as follows:

    <syncfusion:SfDataGrid
        Name="sfdgDelegates"
        ItemsSource="{Binding Delegates}"
        AutoGenerateColumns="False" 
        SelectionMode="Single" 
        SelectionUnit="Row"
        AllowEditing="True"
        AllowDeleting="True"
        >

        <syncfusion:SfDataGrid.Columns>

            <syncfusion:GridTextColumn MappingName="Status" />

            <syncfusion:GridTextColumn MappingName="Name" />

            <syncfusion:GridTimeSpanColumn MappingName="RunTime" />

        </syncfusion:SfDataGrid.Columns>

    </syncfusion:SfDataGrid>

Towerful
Replied On February 23, 2016 02:16 PM UTC

I have found the solution.  
The Property was public get, private set.

I feel a bit silly. 

:)

Ashwini Paranthaman [Syncfusion]
Replied On February 24, 2016 08:56 AM UTC

Hi Andrew,
We are glad that your issue has been fixed.
Please let us know if you need any other assistance.
Regards,
Ashwini P.

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.

Warning Icon 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.Close Icon

;