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

How set min value for editable Grid Numeric Column ?

Thread ID:





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

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 09:15 AM UTC

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.

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