Skip to content

Incorrect typing in ResultsetTable #1981

Closed Answered by Mil4n0r
Mil4n0r asked this question in General
Discussion options

You must be logged in to vote
type Cell = {
  /**
   * Value to be displayed in the cell.
   */
  displayValue: React.ReactNode;
  /**
   * Value to be used when sorting the table by that
   * column. If not indicated displayValue will be used for sorting.
   */
  sortValue?: string;
};

export type Row = Cell[];

rows: Row[];

This logic has been considered more appropiate and will be implemented in #1996.

Replies: 1 comment

Comment options

Mil4n0r
May 15, 2024
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by Mil4n0r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant