Datatable footer

Is it possible to make the footer editable in treetable?

If not, do I have to insert a last row as "footer"?

Comments

  • edited February 17

    ... additionally I defined my own calculation-method for footer. But I need to call it manually after doing some calculations... How can I call it manually?

    This is my function:

    webix.ui.datafilter.ColumnSum = webix.extend({
        refresh: function(master, node, value){
            var result = 0;
            master.data.each(function(obj){
                if(obj.id.split(".").length === 1){
                    if (obj[value.columnId]){
                        result = parseInt(result) + parseInt(obj[value.columnId]);
                    }            
                }
                node.firstChild.innerHTML = result;
            });
        }
    }, webix.ui.datafilter.summColumn);
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion