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

Show numeric keypad on mobile for numeric column

Thread ID:





147184 Sep 4,2019 04:36 AM UTC Sep 5,2019 12:12 PM UTC Angular - EJ 2 1
Tags: Grid
Asked On September 4, 2019 04:36 AM UTC


What should be done to show the numeric key pad when editing a   ej2 grid column with edit type set as  numeric edit.

Thank You

Pavithra Subramaniyam [Syncfusion]
Replied On September 5, 2019 12:12 PM UTC

Hi Sahal, 
Greetings from the Syncfusion support, 
To achieve your requirement, we suggest you to define the Numeric TextBox “htmlAttributes .type” in column.editParams property to get the numeric edit pad in mobile device while edit numeric column. Please refer the below code example and sample for more information. 
<ejs-grid #normalgrid id='Normalgrid' [dataSource]='data' allowPaging='true' [pageSettings]='pageSettings' [editSettings]='editSettings' [toolbar]='toolbar' (actionBegin)='actionBegin($event)' (queryCellInfo)="queryCellInfo($event)"> 
                .    .     .    . 
                <e-column field='Freight' headerText='Freight' width='140' format='C2' textAlign='Right' editType="numericedit" [edit]="freightParams" [validationRules]='freightrules'></e-column> 
               .     .      .      . 
this.freightParams = { params: {             
            htmlAttributes:{type:"number"} } 
Please get back to us, if you need further assistance. 
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