Dear team Webix,
Can you please help me. How can I use in footer custom funtion?
Example:
webix.ui({
rows:[
{ view: “datatable”,
columns:[
{ id: “rank”, header:{ text: “#”, rowspan:2}, width:50, css: “rank”},
{ id: “title”, header:[“movie-title”]},
{ id: “year”, header:[“year”]}, width:80},
{ id: “votes”, header:[“Votes”], width:100, footer:[{content: “mySummColumn”}]},
{ id: “rank”, header:[“Votes2”], width:100, footer:[{content: “mySummColumn”}]},
{ id: “example”, header:[“example”], width:180, footer:[{text: “SUM(votes)/SUM(rank)”}]}
],
autoConfig:true,
data:grid_data,
footer:true}
]
});
In this string:"{ id: “example”, header:[“example”], width:180, footer:[{text: “SUM(votes)/SUM(rank)”}]}"
Snippet: Code Snippet
Thanks in advance!