Kanban View
The kanban view is a agile dashboard like view.
<kanban name="project-task-kanban" title="Project Tasks" model="com.axelor.project.db.ProjectTask"
columnBy="state" sequenceBy="priority" onNew="project.task.kanban.on.new" limit="10">
<field name="name"/>
<field name="notes" />
<field name="progress"/>
<field name="startDate"/>
<field name="endDate"/>
<field name="user"/>
<hilite color="danger" if="progress == 0" />
<hilite color="success" if="progress == 100" />
<hilite color="info" if="progress >= 50" />
<hilite color="warning" if="progress > 0" />
<template><![CDATA[
<h4>{{name}}</h4>
<img ng-if="user" src="{{$image('user', 'image')}}">
<div class="card-body">{{notes}}</div>
<div class="card-footer">
<i class='fa fa-clock-o'></i> <span>{{startDate|date:'yyyy-MM-dd HH:mm:ss'}}</span>
</div>
]]></template>
</kanban>
The kanban view attributes are:
Attribute |
Description |
|
name of the view |
|
fully qualified name of the domain model |
|
a selection field to create columns |
|
a field to use to re-order the cards (numeric fields only) |
|
a field to use when creating record on the fly |
|
action to call when moving a kanban card |
|
pagination limit per column |