How to change the toolitems order?

Options

Hello Opentext and Smart UI fans 🖐️

Is there a known way to change the order of toolitems in the nodestable toolbars?

For example 'tableHeaderToolbar'.

I already know how to extend the toolbar, using the moduleToolItems, but they just get added at the end of the toolbar and get lost under the three dots.

Is there a non-invasive way, or would I be forced to create my own nodetable browsing widget with customized toolitems?

Thanks for any tips!

Jan

Tagged:

Comments

  • Hi all,

    We have thought up one really crazy way to achieve the change of order.

    1. Mask off every single command (using "csui/widgets/nodestable/toolbaritems.masks").
    2. Create a new command for each of the masked ones, inside of the extension project.
    3. Make the new commands extend the original ones. (With modified signatures)
    4. Register them as extra commands in the order you want them to appear

    I would really like to avoid this approach, if possible, but I have not found a better way yet.

    I will keep on in my efforts, but does anyone know a different way to do this?

    Cheers,

    Jan