Page 1 of 1

Number type column not applying locale based formatting while editing

Posted: Tue Feb 09, 2021 10:38 am
by Vandana Ojha

Number type column is not providing locale based formatting while editing, when edit finishes then it applies or refreshes cell content with formatting like if

Value - 1250.85
View Mode - 1,250.85
Edit Mode

  • when started - 1,250.85
    when value is changes 1,258450.85

After save value in view mode - 1,258,450.85

Expected
when value is changes it should provide formatting - 1,258,450.85 before edit finishes
This was working fine with version 4.0.5

Steps to reproduce

  1. Go to https://www.bryntum.com/docs/grid/#Grid/column/NumberColumn
  2. Go to live demo and edit column config to add format for NumberColumn
    format : new NumberFormat({
    			locale: 'en-US',
    			fraction: [0, 2],
    		}),
  3. Edit NumberColumn cell value from 880 -> 1250.85 then finish editing
  4. You will notice in view mode formatting will appear which was not there in edit mode
  5. Now again edit value 1,250.85 -> 1,258450.85 you will notice in edit mode new value will not be refreshed with format
  6. Finish editing then formatting will be applied

This was working fine with older version 4.0.5


Re: Number type column not applying locale based formatting while editing

Posted: Tue Feb 09, 2021 3:04 pm
by pmiklashevich

Thank you for the report, I've opened a ticket: https://github.com/bryntum/support/issues/2356


Re: Number type column not applying locale based formatting while editing

Posted: Thu Mar 13, 2025 12:46 pm
by jintech

Any update on this issue? Is there a fix or wayaround to resolve this?


Re: Number type column not applying locale based formatting while editing

Posted: Thu Mar 13, 2025 4:09 pm
by ghulam.ghous

Hey,

No updates yet. I have pinged our PM to see if we can prioritise it. If it is something important for your app you can consider sponsoring the development for this feature. https://bryntum.com/services