Hi all,
I’m trying to format a numeric datatable column according to the locale defaults
In this special case, Json columns configuration comes from memory var as you can see in the following snippet http://webix.com/snippet/818c4f23
1000,22 should be formatted into 1.000,22
Thank you
JSON doesn’t support functions (webix.i18n as well), but for the webix formatting method you can just pass its name as a string, our parser will handle it:
http://webix.com/snippet/46b2249b
I need to do the same with template but passing the functio name does not work.
It will work only for the format
property and built-in formatting methods.
Unfortunately, only a string template can be included in JSON
For example
http://webix.com/snippet/4a23a3ad
Ok. I will try with activecontent feature
You can also configure the type
instead of using activeContent:
http://webix.com/snippet/dde29adb
Brilliant, absolutely better than mine. Thank you.