Customizing Pivot Table Configuration Popup

When using the pivot table I open the configuration popup and there's a list in the left (where you drag stuff from) and a 2x2 table to the right with "rows, columns, values, filters" areas (where you drop the dragged stuff to).
I'd like the droppable area to be 4 columns instead of a 2x2 grid. Is it possible to achieve this with ease? (consider I have set bigger custom width for my popup, so there's room for 4 columns)

Besides my specific question, is there any full complete documentation for customizing this configuration popup? Official documentation only has a couple useful examples(like setting width and height, adding a search widget, or changing the captions), but navigating through the forum I saw there are much more options to play with and I'd like to see and study a complete list of them.

Thank you very much!

Comments

  • Hey @pavenburg, there doesn't seem to be a way to do this with ease as you mention, but it is indeed still possible.

    You can access the popup config via a onViewInit event and change it as you wish. It is fairly easy to use this method to alter the inside views, but changing the layout is a bit more tricky. Here's an example of how you could do this: https://snippet.webix.com/ulyb9a4a.

    However, in your case, I would like to recommend you consider an alternative way to approach this by creating a custom UI element that would perform the same functions as the popup itself (which you can then hide using the readonly property of pivot). This way, you can customize the looks on demand and use setStructure to modify the pivot table.

    Concerning your second question, I believe you are referring to this specific article - https://docs.webix.com/pivot__customization.html#popupcustomization? As far as I know, these are the only cases provided in the documentation.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion