Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144383 | May 3,2019 12:24 PM UTC | Jul 18,2019 09:32 AM UTC | Angular - EJ 2 | 5 |
![]() |
Tags: Grid |
Hi Neo,
Greeting from Syncfusion.
We have prepared a simple to achieve your requirement("set decimal places to numeric texbox in grid batch edit") and please refer the below code snippets and sample.
[app.component.html]
<e-column field='Freight' headerText='Freight' [edit]='numEditParams' width='120' format='C3' textAlign='Right' editType='numericedit' [validationRules]='freightrules'></e-column>
[app.component.ts]
this.numEditParams = { params: {decimals: 3, format: 'n'}};
Sample:https://stackblitz.com/edit/angular-yjegvk-u8kqlc?file=app.component.ts
Regards,
Hariharan
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.
This page will automatically be redirected to the sign-in page in 10 seconds.