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

SfDataGrid, always on edit mode

Thread ID:

Created:

Updated:

Platform:

Replies:

129164 Mar 1,2017 10:00 PM UTC Mar 3,2017 12:56 PM UTC WinRT 1
loading
Tags: SfDataGrid
Nicolas
Asked On March 1, 2017 10:00 PM UTC

Hi,

I need to use sfDataGrid, but all lines should be in edit mode.

I use a specific column, sfNumericUpdown.
But sfnumerictextbox and "+" "-" buttons are hidden by default.
Users need to select the celle to pass this cell on edit mode and see the sfnumericupdown component.

We need that user see the sfnumericupdown always.

Regards,

Jai Ganesh S [Syncfusion]
Replied On March 3, 2017 12:56 PM UTC

Hi Nicolas,  
We have checked your query. If you want to display the SfNumericUpDown column as  “+” and “-“ button while loading the grid, you can load numeric up down in GridTemplateColumn.CellTemplate. Could you please refer the below code snippet,   
Code Snippet:  
  
<syncfusion:GridTemplateColumn MappingName="OrderScore.StepValue" >  
    <syncfusion:GridTemplateColumn.CellTemplate>  
        <DataTemplate>  
            <editors:SfNumericUpDownsyncfusion:FocusManagerHelper.FocusedElement="True"  
                                DataContext="{Binding}" Maximum="500" Minimum="0">  
            </editors:SfNumericUpDown>  
        </DataTemplate>  
    </syncfusion:GridTemplateColumn.CellTemplate>  
</syncfusion:GridTemplateColumn>  
  

Regarding this query, we have already discussed with the below forum link, 
 
You can load the different control while loading the grid in template column, you can useGridTemplateColumn.CellTemplateSelector. In GridTemplateColumn.CellTemplateSelector, when you are scrolling every time the control will be new reinitialize. In the attached sample, we have loaded the SfNumericUpDown control. Could you refer the below attached sample?  
Regards,  
Jai Ganesh   
 


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

;