something like fieldMap

I found the fieldMap that can have new names for the fields in pivot table, but is there any functions like that can have names for rows and cols? Many of them in my original table are just indices, don’t make any sense from the looking.

Thanks!

Hello,

for data items you can use $init scheme. For example:

var namesMap = {"1": "Argentina", ...};

webix.ui({
    view: "pivot",
    scheme: {
	$init: function(obj){
		obj.name = namesMap[obj.name];
	}
     },
     ...
});

Thank you, would you please take a look: somehow it doesn’t work on my end.
http://webix.com/snippet/a6355b3d

data property “name” was just an example. Here is the demo where PaymentYear values are mapped to namesMap:

http://webix.com/snippet/9551b860

Thank you so much Maria!