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. (Last updated on: November 16, 2018).
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 Nov 27,2018 03:42 AM UTC WPF 4
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.

red
Replied On November 25, 2018 05:03 PM UTC

Is there <syncfusion:GridTimeSpanColumn ....... in UWP .
IF so can you provide an example 
IF not there is a workaround to it ?

Deivaselvan Y [Syncfusion]
Replied On November 27, 2018 03:42 AM UTC

Hi Red, 
 
Thanks for contacting Syncfusion support. 

SfDataGrid doesn’t have direct support for TimeSpan column in UWP. You can achieve this by creating custom column and cell renderer. Please refer to the following UG to create custom cell renderer and custom column using TimePicker. 


Please let us know if the provided solution doesn’t meet your requirement. 

Regards, 
Deivaselvan 


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;