Skip to content

[EuiDataGrid] stripes in gridStyle alternates bewteen pages #4705

Closed

Description

@j-m

Prior to virtualisation, the config

gridStyle={{
  stripes : true
}}

always started the first row of a page with a white background.
Now, the first row will alternate white/grey on odd/even pages respectively, as if the pattern were continuing across pages.

See also #4483

Activity

  1. j-m commented on Apr 13, 2021

    @j-m
    ContributorAuthor

    Also, if you don't update rows during onSort, the rows keep their background colour; so you could end up with multiple whites/greys in succession. For now, I'm just going to disable stripes

  2. chandlerprall commented on Apr 13, 2021

    @chandlerprall
    Contributor

    Second issue (background color) may be related to #4665

  3. j-m commented on May 24, 2021

    @j-m
    ContributorAuthor

    @chandlerprall Out of curiosity, why does the datagrid not have row wrappers?
    Would solve this issue as well as #4401 #4474 #4483

  4. myasonik commented on May 26, 2021

    @myasonik
    Contributor

    It used to but virtualization broke it and we use a 3rd party library (react-window) to handle that for us.

    So fixing the issue is either a matter of forking the repo or contributing upstream but either way we haven't had a chance to address it yet. As you can see with the issues piling up around rows, we clearly want and need to though.

  5. self-assigned this
    on Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions