I need to create a custom DataField, how do I register it?
I did it that way, but it's not working.
class MyCustomField extends bryntum.grid.DataField
{
static get $name()
{
return 'MyCustomField';
}
static get type()
{
return 'mycustomfield';
}
convert(value)
{
...
}
print(value)
{
....
}
}