Our blazing fast Grid component built with pure JavaScript


Post by jitendra_bryntum »

Hi,

My usecase is to delete Taskboard columns which is created dynamically at runtime on 'Add New Column' button onclick event.

We can delete these columns by below code snippet:

removeColumn() {
        if (this.taskboard.columns.count > 0) {
            this.taskboard.columns.last.remove();
            this.canRemoveColumn = this.taskboard.columns.count > 4;
        }
}

But, by this code we can remove columns from end of taskboard. We want delete button on newly created column and if user click on delete icon we can remove the respective column.

Also before removing the column we need to move the column tasks to another desired column?

How we can achieve this? kindly suggest.


Post by tasnim »

Hi,

Please check here I replied viewtopic.php?f=56&t=27837&p=139602#p139602


Post Reply