@mehran

@mehran

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Kanban swimlanes #102191
    Mehran
    Member

    Hi.
    I needed to swim by priority, from how the component does it, I try to simulate it, that is:
    //assign the value of the priority to the swimlane attribute
    for (var i = 0; _kanban.dataSource.length < length; i++) {
    _kanban.dataSource[i].swimlane = _kanban.dataSource[i].priority;
    }
    //then build UI
    _kanban.swimlanes.push({ label: ‘Low priority’, dataField: ‘low’ });
    _kanban.swimlanes.push({ label: ‘Normal priority’, dataField: ‘normal’ });
    _kanban.swimlanes.push({ label: ‘High priority’, dataField: ‘high’ });
    _kanban.refresh();
    Interestingly enough, value of the swimlane did not change, they all were set to ‘low’.
    I need to do this at run time, and not pre-determined. If only swimlane field could have been any of the fields of a task.
    Please show me the proper way to do this.
     

    in reply to: Kanban column reorder -Bug #102176
    Mehran
    Member

    Yes fine.
    But even when the reorder is disabled  on the column with sub-columns and sub-colmuns themselves, on moving any other column on the board, also rearranges columns with sub-columns too.
    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)