Skip to content

Accessing column props in Slots #498

Closed
@cagataycivici

Description

@cagataycivici

Table and TreeTable passes column information to the templating slots, for Vue 3 these are vnodes so props should be access via props.

Before
{code}

<template #header="slotProps">
{{slotProps.column.header}}


{code}

After
{code}

<template #header="slotProps">
{{slotProps.column.props.header}}


{code}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: Breaking ChangeIssue contains a breaking change related to a specific component

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions