Pivot - Column Number Format

Hi all,
on suggestion of Maria (really good and knowledgeable)
to format every number column I use the code below.
I need format some column with 3 decimals and other in 2,
it’s possible ?
many thanks…

onBeforeRender: function(config){
	var columns = config.header;
	var css = {"text-align":"right"};
	for(var i=1; i < columns.length;i++){
		columns[i].css= css;
		if(columns[i].footer)
		columns[i].footer.css= css;columns[i].format=webix.Number.format;
}}

Hi,

You can set the custom format to certain columns.

ID of each column is based on its actual data: columns/values names and type of the current data operation. For example:

id: "2005_'_max_'_oil" //column_'_operation_'_value

So if you want to apply your own template, you need to use the substring comparison or a regexp:
http://webix.com/snippet/1c4fe4f2

Many thanks to Listopad,
works very well.
I’m thinking about what Webix version buy.
Thanks again.
L