Skip to content

[EuiDataGrid] Document what props cause rows to re-render #3518

Closed

Description

@chandlerprall

There are quite a few props which could cause EuiDataGrid to re-render all of the rows (and if inMemory is enabled this would be all rows, not only paginated/visible ones). Most are probably not obvious, and debugging which one is causing a performance issue is tedious. These should be documented.

This list is affected by the in-progress virtualization #4170

The internal rows representation is recomputed if these change (struck out items are internal-only and should be more limited in scope),
rowCount,
columns,
inMemory.skipColumns,
renderCellValue,
onCellRender,
visibleRowIndices,
rowMap,
leadingControlColumns,
trailingControlColumns,
columns,
schema,
popoverContents,
columnWidths,
defaultColumnWidth,
focusedCell,
onCellFocus,
interactiveCellId,

The impact of each should be evaluated and documented.

Activity

  1. added
    documentation
    on May 27, 2020
  2. changed the title [-]Document what props cause EuiDataGrid rows to re-render[/-] [+][EuiDataGrid] Document what props cause rows to re-render[/+] on Sep 20, 2020
  3. github-actions commented on May 20, 2021

    @github-actions

    👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

  4. added
    stale-issue
    on May 20, 2021
  5. github-actions commented on May 27, 2021

    @github-actions

    ❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error.

  6. added
    stale-issue-closed
    on May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    data griddocumentationstale-issuestale-issue-closed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions