04-04-2018 03:26 AM
I'd like to add a separator in the gsp.ui.toolbar to create groups of buttons. Is this possible?
Related question: is there up-to-date documentation about gsp, because this link is really outdated
Solved! Go to Solution.
04-05-2018 06:32 AM
Hi Arjen,
I am afraid only by providing your own CSS class and image encoded in base64 format in the CSS style. Something like:
gsp.ui.toolbar.add({ id: "divider1", className: "toolbarDivider" });
.toolbarDivider { background-image: url(data:image/gif;base64,R0lGODlhDAAMANUAAAE...iAJBigNFAwBAXwYRAIpwBfQQA7) }
04-05-2018 06:35 AM
Hi Jan,
Yes, I've done something like that. I was a bit dissapointed it needed an id, but otherwise it worked fine.
What about my other question about the much-needed update of the documentation?
Right now I have to dive into the debugger to see which methods seem to be available to gsp.ui, but that doesn't quit cut it
04-05-2018 06:56 AM
I can see there's a task for that in development's backlog so the API documentation update is forthcoming. Unfortunately I cannot tell when this will happen.