Our flexible Kanban board for managing tasks with drag drop


Post by raining »

when source data change,task dom is update or init?


Post by tasnim »

Could you please explain with some images showing us what exactly you want to achieve?


Post by raining »

our data is very large,when source data change,all task update is very waste time,If source data change,dom needn't init, I want to control only update task when task in the visible region。


Post by tasnim »


Post by raining »

has any example about how to use it?

such as:

project: {
            tasks: [.....],// data
            beforeUpdate : () => {
              console.log('beforeUpdate')
              return false
            }
          },

it isn't take effect


Post by tasnim »

has any example about how to use it?

Yeah Sure.

Please check the code below to achieve it:

project : {
	taskStore : {
		listeners : {
			beforeUpdate() {
				console.log('update');
			}
		}
	}
}

Post by raining »

I try it, it only work when drag task.when source data change,it not trigger


Post by tasnim »

Then, use this: https://bryntum.com/docs/taskboard/api/TaskBoard/store/TaskStore#event-change

Here is an example :

project : {
	taskStore : {
		listeners : {
			change() {
				console.log('change');
			}
		}
	}
}

Post by raining »

has any exmaple about how to control single task is update UI by "change"?


Post by raining »

by the way ,I still want to know if data update,every task dom is update or initialized?


Post Reply