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

Grid removing spin button to the numeric line.

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,
Giorgio

1 Reply

PS Pavithra Subramaniyam Syncfusion Team 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> 
 
 
 
Regards, 
Pavithra S. 


Loader.
Live Chat Icon For mobile
Up arrow icon