Hello kane81,
To specify number format in columns config you can set editor as:
editor: {
type: "text",
config: { type: "number", css: "wx-icon-left", icon: "wxi-currency-usd" },
},
The same for the datepicker:
editor: {
type: "datepicker",
config: { format: "%d/%m/%Y" },
}
As for hiding a column in the grid, but showing it in the editor in the columns config you can also set the hidden parameter:
{
id: "test",
editor: {
type: "text",
config: { type: "number", css: "wx-icon-left", icon: "wxi-currency-usd" },
},
flexgrow: 1,
hidden: true,
},
And note that in the example below test property is added to objects of data array.
Please check the example: https://stackblitz.com/edit/sveltejs-kit-template-default-xmzhqwdt?file=src%2Froutes%2FMyEditor.svelte,src%2Fdata%2Fdata.js