Short description
Not sure if this is a bug with the most recent JS compilation, but now when I have a column with the "render" field as a string, such as "int", "float:1", etc., it no longer displays the value in the grid cell. When my cells are editable ("editable": {"type": "float"}) and I start editing, the value displays as normal, but when I exit editing, it goes back to a blank cell.
When render is null or omitted, then the values display as normal, but as you already know the render field is handy for formatting the display values, such as rounding floats to a certain decimal place.
Short description Not sure if this is a bug with the most recent JS compilation, but now when I have a column with the "render" field as a string, such as "int", "float:1", etc., it no longer displays the value in the grid cell. When my cells are editable ("editable": {"type": "float"}) and I start editing, the value displays as normal, but when I exit editing, it goes back to a blank cell.
When render is null or omitted, then the values display as normal, but as you already know the render field is handy for formatting the display values, such as rounding floats to a certain decimal place.
Steps to reproduce or sample grid = new w2grid({ columns: [ {field: 'float_column', text: 'Float Column', render: 'float:1', editable: {type: 'float'}}, {field: 'int_column', text: 'Int Column', render: 'int', editable: {type: 'int'}} ], records: [ {recid: 1, float_column: 45.45555, int_column: 12} ] })