Skip to content

Empty Data Needs To Be Removed From ColumnDefs #4

Description

@deeleeramone

The way it works now is every column is on regardless of it actually existing in the response.

This creates massive amounts of busy work to "turn things off" before you can use things - or even look at the table.

Screenshot 2024-08-05 at 5 05 48 PM

Additionally, more unnecessary busy work is created by Pro applying rounding settings where it has no business doing so. Default state should be rounding OFF for all decimals. You don't prevent 1,000,000 being printed, so why arbitrarily display decimals like this?

For values above 1, a more reasonable default is 6, where the trailing 0s are eliminated.

Screenshot 2024-08-05 at 5 16 21 PM

It would be much better to have the output of the platform define the columnDefs. I already have a script that can do this as, to_grid, but would need an entry point to the GridAPI as the obbject.results output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions