Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make columnVisibility type safe #1448

nimo23 started this conversation in Ideas
Discussion options

The properties eligable for columnVisibility used within table are currently not type-safe:

state: {
	isFullScreen,
	columnVisibility: {
	'mrt-row-expand': isFullScreen,
	task: isFullScreen,
 anything: true // column anything does not exist within my columns-definition
}

Maybe it is possible to make it type safe by having an aggregation type from my column definition and the internal columns, so that anything: true is not allowed to be placed inside the columnVisibility.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /