Skip to content

Super slow rendering on very wide datasets - display columns only when necessary #6573

Open
@Tagar

Description

@Tagar

Apache Zeppelin recently upgraded to ui-grid - that looks awesome btw!

What we're facing though is on wider datasets Chrome sometimes spends minutes to render a table.
The table doesn't have a lot of data (it's very sparsely populated), so it seems just the number of columns is what important.

Maybe more of an extreme case - 5000 columns x 1000 rows recent Chrome spent 20-30 minutes to render on a decent PC. That's not a make-up case and we actually had to display such a wide sparsely populated table. (Our company normally deals with wider datasets)

Even on not so wide datasets we found browser rendering could be lagging..

What is a recommended size of dataset (in terms of number of columns, and number rows) that is know where ui-grid works well?

As an example, Cloudera HUE worked around displaying such wide datasets by adding "virtual" horizontal scrolling - basically columns are pushed to an html table only when they have to be visualized (if a user has pushed horizontal scrolling to the right .. and efficiently removing columns from html when they're not necessary for visualization). Cloudera Hue can render such wide datasets very quickly because browser has to render only a tiny subset of columns that it actually needs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions