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

[Feature] Explicit list_columns specification #380

Open
kmmbvnr opened this issue May 5, 2023 · 2 comments
Open

[Feature] Explicit list_columns specification #380

kmmbvnr opened this issue May 5, 2023 · 2 comments

Comments

@kmmbvnr
Copy link
Contributor

kmmbvnr commented May 5, 2023

Set of classes for list_columns to explicitly configure data source and column styling

    list_columns = [
       'pk', ViewsetCallable('get_object_data', width='20px', type=bool)
    ]
@SamuelLayNZ
Copy link

image
As an example of what I'd like to fix. There are columns being cut off while others take up a lot of empty space. I have some lists with even more columns that are affected even more.
A better automatic balancing of the column would work, or custom styling like your suggestion.

Also, allow you to specify which columns should hide on mobile etc.

@SamuelLayNZ
Copy link

Text align as well would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants