Stacked Headers

28 Jun 2017 / 3 minutes to read

The stacked headers helps you to group the logical columns in Kanban. It can be shown by setting showStackedHeader as true and by defining stackedHeaderRows.

Adding Stacked header columns

To stack columns in stacked header, you need to define column property in stackedHeaderColumns with field names of visible columns.

The following code example describes the above behavior.

  • javascript
  • <!DOCTYPE html>
    <html xmlns="" lang="en" ng-app="KanbanApp">
        <title>Essential Studio for AngularJS: Kanban</title>
    <body ng-controller="KanbanCtrl">
        <div id="Kanban" ej-kanban e-datasource="data" e-keyfield="Status" e-fields-content="Summary" e-fields-primarykey="Id" e-fields-tag="Tags">
            <div e-columns>
                <div e-column e-headertext="Backlog" e-key="Open"></div>
                <div e-column e-headertext="In Progress" e-key="InProgress"></div>
                <div e-column e-headertext="Testing" e-key="Testing"></div>
                <div e-column e-headertext="Done" e-key="Close"></div>
            <div e-stackedheaderrows>
                <div e-stackedheaderrow>
                    <div e-stackedheadercolumns>
                        <div e-stackedheadercolumn e-headertext="Unresolved" e-column="Backlog,In Progress"></div>
                        <div e-stackedheadercolumn e-headertext="Resolved" e-column="Testing,Done"></div>
            angular.module('KanbanApp', ['ejangular'])
                .controller('KanbanCtrl', function ($scope) {
                    $ = new ej.DataManager(window.kanbanData).executeLocal(ej.Query().take(30));

    The following output is displayed as a result of the above code example.