Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Server-Side Pagination Support for Custom Visualization Widgets with Grid Type in Reveal BI #302

Open
ghenadie-munteanu opened this issue Nov 6, 2024 · 1 comment
Labels
🧰 feature-request New feature or request

Comments

@ghenadie-munteanu
Copy link

Is your feature request related to a problem? Please describe.

I'm looking to add server-side pagination for Custom Visualization widgets in Reveal BI. Currently, it's challenging to manage large datasets effectively without built-in pagination options, particularly when dealing with Grid type visualizations, which are rendered as HTML tables.

I propose adding server-side pagination support for Custom Visualization widgets. Specifically:

  • Add a chartType to specify the visualization type:
storedChartTypes.forEach((chartType: {title: string, url: string, icon: string, groups: string[]}) => {
    revealView.chartTypes.push({
        title: chartType.title,
        url: `${window.location.origin}/${chartType.url}`,
        icon: `${CONFIG.BASE_URL}/${chartType.icon}`,
        chartType: "Grid",
        groups: chartType.groups
    });
});

When chartType is set to Grid, additional settings should appear in the widget Settings:

  • Show Paged Row (boolean)

  • Paged Rows Size (number)

If the above configuration is present, reuse the existing pagination flow as found in GridVisualizationDataSpecType.

Additional nice-to-have functionality

  • The ability to customize the pagination UI component.

  • The ability to define Custom Widget Settings Parameters, based on chartType: Grid or other types.

This feature would enhance flexibility and improve usability when working with large datasets in Custom Visualization widgets.

Thank you for considering this feature request!

@ghenadie-munteanu ghenadie-munteanu added the 🧰 feature-request New feature or request label Nov 6, 2024
@vgorincioi2
Copy link

Any timelines for this feature to be considered, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧰 feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants