Skip to content

Infragistics Community Forum / Web / Ignite UI for jQuery / Number format applied on igGrid integer column filter text when user clicks outside the grid area

Number format applied on igGrid integer column filter text when user clicks outside the grid area

New Discussion
shrenath ss
shrenath ss asked on Oct 15, 2019 6:54 AM

Hi Team,

I have an ID as integer column in IgGrid with filtering option. When i type the ID in filter, the grid is filtered with the ID which i entered. When i click out side the grid, the value in the filter text getting number format with comma separation. Number format should be removed on filter text. I have also attached the screenshot and highlighted the issue with yellow color. Please find the attachment and let me know how to fix the issue as soon as possible.

Number format applied on filter text when user clicks outside the grid, Please give the solution..

Thanks,

Shrenath.

Sign In to post a reply

Replies

  • 0
    shrenath ss
    shrenath ss answered on Oct 14, 2019 7:31 AM

    Any update on the above?

  • 0
    Petko Bozhinov
    Petko Bozhinov answered on Oct 15, 2019 6:54 AM

    Hi Shrenath,

    In order to fulfil your requirements, editorOptions collection can be modified for the column of your choice. This option specifies the options to initialize the corresponding editor with. Please keep in mind that the filter input is an instance of our igEditor. The consequence of that fact is the ability to use and set all editorOptions for a numericEditor. One of these options is exactly the groupSeparator, which when being set to “” (an empty string), tends to display the filtering number without any characters in between the number itself.

    My suggestion, dressed up in code, may look like the following:

    features: [
        { 
    		name: "Filtering",
    		columnSettings: [{
    			columnKey: "ID",
    			editorType: "numeric",
    			editorOptions: {
    				groupSeparator: ""
    			}
    		}]
    	}
    ]

    If you have any further questions, regarding our products, please, do not hesitate to contact me!

    Best regards,
    Petko Bozhinov,
    Infragistics, Inc.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
shrenath ss
Favorites
0
Replies
2
Created On
Oct 15, 2019
Last Post
6 years, 7 months ago

Suggested Discussions

Tags

No tags

Created by

Created on

Oct 15, 2019 6:54 AM

Last activity on

Oct 15, 2019 6:54 AM