Our blazing fast Grid component built with pure JavaScript


Post 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


Post by pmiklashevich »

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

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply