Our state of the art Gantt chart


Post by inspire »

Hi!

Is there any way to customize number column format/template in Gantt so that it will be displayed as

<some_predefined _symbol> number_value

Not using custom renderer.

Thanks


Post by marcio »

Hey inspire,

You can read here https://bryntum.com/products/gantt/docs/api/Core/helper/util/NumberFormat and then check the documentation of the number column https://bryntum.com/products/gantt/docs/api/Grid/column/NumberColumn

That you can use something like this

columns : [
        {
            type   : 'number',
            format : {
               style    : 'currency'
               currency : 'USD',
            }
        }
    ]

Perhaps you could replace 'USD' with the predefined symbol that you're looking for? If not, you'll need to use a custom renderer.

Best regards,
Márcio


Post Reply