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 set min value for editable Grid Numeric Column ?

Thread ID:





131515 Jul 14,2017 03:46 AM Jul 14,2017 05:15 AM Xamarin.Forms 1
Tags: SfDataGrid
Gangatharan Baskaran
Asked On July 14, 2017 03:46 AM

I have Grid numeric column in my data grid and it can be editable. The numeric column shows the value from my list. I am adding the value to the column using Mapping Name. User can edit the column but the number must be larger than the initial value in numeric column. How can I set the column min value to my Mapping Name property

Ashok N [Syncfusion]
Replied On July 14, 2017 05:15 AM

Hi Gangatharan, 

Thanks for contacting Syncfusion support. 

You can achieve your requirement by using GridNumericColumn.MinValue and GridNumericColumn.MaxValue property. Please refer the below code example : 

<sfDataGrid:SfDataGrid x:Name="dataGrid"  
            ItemsSource="{Binding OrderInfoCollection}"> 
        <sfDataGrid:GridNumericColumn MappingName="ColumnName" MinValue="10" MaxValue="1000"/> 



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.