Our state of the art Gantt chart


Post by moaberg »

Hello! I have a question regarding the print dialog.
Is it possible to change the order of the action buttons (Cancel, Print), without having to customize the entire dialog?

Right now the primary action button is to the left, which does not follow our pattern. I could fix it with scss as I've done in my screenshot but then the tab-order will still be wrong.

I would also like to notify you on a typo in the dialog, when using Swedish locale. The label for the third input should be "Rader", not "Kader".

Skärmavbild 2025-10-01 kl. 14.13.06.png
Skärmavbild 2025-10-01 kl. 14.13.06.png (73.78 KiB) Viewed 487 times

Post by ghulam.ghous »

Hi there,

You can achieve it in the following manner using the weight config on the buttons:

    printFeature :  {
            exportDialog : {
                bbar : {
                    items : {
                        exportButton : { weight : 20 },
                        cancelButton : { weight : 10}
                    }
                }
            }
    },

https://bryntum.com/products/gantt/docs/api/Core/widget/Button#config-weight
https://bryntum.com/products/gantt/docs/api/Grid/view/export/ExportDialog#default-widgets


Post by moaberg »

Oh perfect, thank you!


Post by moaberg »

Just want to make sure that the typo that I wrote about is not forgotten, the word for "Rows" should be "Rader" in Swedish, not "Kader".


Post by alex.l »

Hi,

I've opened a separated ticket for that here https://github.com/bryntum/support/issues/12167
Thanks for your reminder!

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post Reply