Our flexible Kanban board for managing tasks with drag drop


Post by raining »

How can I use rewrite widget of custom all area? (now I use web components to custom task
and swimlane headers.)

Last edited by raining on Tue Jul 19, 2022 10:43 am, edited 1 time in total.

Post by mats »

Please explain with images what result you want to achieve.


Post by raining »

I want rewrite task by custom a whole widgets from source code, how can I do?


Post by marcio »

Hey raining,

If I understood correctly, maybe this guide about customizing task content will help you - https://www.bryntum.com/docs/taskboard/guide/TaskBoard/customization/taskcontents

Please let me know if that's what you want to customize, if not, we'll need more clarification about what you want to achieve.

Best regards,
Márcio


Post by raining »

At first, Can i use the custom widget in bodyItem?
If yes, I want to render the bodyItem with the full custom widget.But I don't know how to achieve it. I reference this doc like below:
https://www.bryntum.com/docs/taskboard/guide/Core/advanced/widgets

  
bodyItems: { created_on: { type: 'card',// it is custom widget value: 123, }, },

But there are some problems like below image:
Image

I don't confirm where should i add 'Card.initClass()' that register the widget by factory.


Post by alex.l »

I don't confirm where should i add 'Card.initClass()' that register the widget by factory.

In the end of Card.js file.
Did you provide new type for your Card class?

Please share your application, it's hard to know what's the problem without the code.

All the best,
Alex


Post Reply