Premium support for our pure JavaScript UI components


Post by jandresampaio »

Hi,

I've checked that in 4.0.6 the Gantt.widget.DependencyField shows the taks and id, in parenthesis. We would like to further customize this combo to show task sequence and maybe other info in the future.
We tried to set the editor type to "predecessor" (https://bryntum.com/docs/gantt/#Gantt/widget/DependencyField) and set a displayField or displayValueRenderer but it doesn't work.

How can we achieve this result?

Thanks


Post by alex.l »

Hi jandresampaio,

This field doesn't support custom renderers for the input. You can configure the list using https://bryntum.com/docs/gantt/#Gantt/widget/DependencyField#config-listItemTpl
Or/and set https://bryntum.com/docs/gantt/#Gantt/widget/DependencyField#config-dependencyIdField to have sequenceNumber or any other field you want to see in parenthesis.

All the best,
Alex


Post by jandresampaio »

Hi Alex,

I've used both approaches, but listItemTpl to customize the list items instead of the default format.

Thanks for the help.


Post Reply