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

Switching between Table.string and Table.custom is cumbersome #1020

Open
asterite opened this issue Aug 8, 2022 · 1 comment
Open

Switching between Table.string and Table.custom is cumbersome #1020

asterite opened this issue Aug 8, 2022 · 1 comment
Labels

Comments

@asterite
Copy link
Contributor

asterite commented Aug 8, 2022

This is an example of Table.string:

Table.string
{ header = "Topic"
, value = .topic
, width = Css.auto
, cellStyles =
    always
        [ Css.padding (Css.px 15)
        , Css.fontWeight Css.bold
        ]
, sort = Nothing
}

If we want to change it to Table.custom, the value property needs to be changed to view. Why? Could they be called the same? That way it would take, at least me, much less time and memory to remember how to switch from one to the other.

@tesk9
Copy link
Contributor

tesk9 commented Apr 20, 2023

Will be addressed as part of A11-2770

@tesk9 tesk9 added the table label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants