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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid removing spin button to the numeric line.

Thread ID:





145215 Jun 12,2019 03:37 PM UTC Jun 13,2019 04:56 AM UTC ASP.NET Core - EJ 2 1
Tags: DataGrid
Asked On June 12, 2019 03:37 PM UTC

Dear all,
suppose that you have a numeric textbox column.
 <e-grid-column field="Price" headerText=@Localizer["Precio"].Value editType="numericedit" width="95"></e-grid-column>

It might be desiderable to not have the spinbutton like this:

We dont want the spinbutton as maekrd but the possibility to enter directly the text without spinbutton. In nomarl ej-numerictextbox there is an option showSpinButton="false" , is a similar option available to the grid column or shall i convert all as text.
Best Regards,

Pavithra Subramaniyam [Syncfusion]
Replied On June 13, 2019 04:56 AM UTC

Hi Giorgio, 
Thanks for contacting Syncfusion support. 
You can customize the NumericTextBox component in the edit form by using the “edit.params” property of Grid columns. Please refer to the below code example, documentation link for more information. 
Using edit params you can hide the spin button by disabling the “showSpinButton” property. 
            <e-grid-column field="Freight" headerText="Freight" edit="@(new { @params = new Syncfusion.EJ2.Inputs.NumericTextBox() {ShowSpinButton=false}})" editType="numericedit" width="95"></e-grid-column> 
Pavithra S. 


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon