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

Number format without group separators

Thread ID:





129466 Mar 20,2017 04:15 PM UTC Mar 22,2017 12:39 PM UTC JavaScript 1
Tags: ejGrid
Stefano Enrico
Asked On March 20, 2017 04:15 PM UTC


i have a grid where i want to display number without group separators. I use {0:n2} format


how can I do?


Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On March 22, 2017 12:39 PM UTC

Hi Stefano,  
We could see you would like to remove the group separator. This can be achieved using the queryCellInfo event of the Grid. In this event, we will format the respective cells as shown in the following code example.  
<script type="text/javascript"> 
    $(function () { 
            dataSource: window.details, 
            columns: [ 
                     { field: "Number", textAlign: ej.TextAlign.Right, width: 110 }, 
                     { field: "Currency", format: "{0:c2}", textAlign: ej.TextAlign.Right, width: 110 }, 
                     { field: "Date", format: "{0:MM/dd/yyyy}", textAlign: ej.TextAlign.Right, width: 110 } 
            queryCellInfo: function (args) { 
                if (args.column.field == "Number") 
Refer to the following API Reference and sample demo. 
Seeni Sakthi Kumar 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