Our state of the art Gantt chart


Post by sandeepchhoker »

Does Bryntum gantt allow us to define custom cell editors? If so then how?

Post by mats »

Sure, see the docs for 'editor'. https://bryntum.com/docs/grid/#Grid/column/Column#config-editor

Then simply implement any widget you want, subclassing our Widget class

Post by sandeepchhoker »

Can you point me to an example? Gantt docs are not that easy to understand.

Post by mats »

We don't have an example of a custom cell editor. Just need to study our docs / sources / examples and it'll be straightforward. If you describe your requirement a bit more it'll be easier for us to help you.

Post by jayarnabsaha »

@mats,

On the same note of above question, we have a scenario, where for every data type(i.e. string/datetime ect.) we need to have specific custom cell editor. So, we need to override the library provided editor and implement some interactivity between custom editor to backend. Can you please help with an example of a simple custom editor?
In the above mentioned document, it is not easy to understand what exactly we suppose to do.

Thanks,

Post by mats »

I would recommend first that you buy licenses and study our sources and you'll see how to extend our default editors and customize them. Or create your own based on our built-in datefield for example: https://bryntum.com/docs/scheduler/#Common/widget/DateField

Post Reply