DataTable: Colspan not working correctly when selectionMode='single' in Column #7222
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
DataTable: Colspan not working correctly when selectionMode='single' in Column
When setting row selection with radio buttons in the DataTable, there is an issue where an extra colspan value is applied when the data is empty.
<DataTable> <Column selectionMode="single"> </DataTable>
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/primevue-4-vite-datatable-issue?file=package.json
Environment
Vue version
3.5.13
PrimeVue version
4.2.5
Node version
No response
Browser(s)
Chrome 133
Steps to reproduce the behavior
Expected behavior
The colspan should be applied to match the number of columns in the table header.
The text was updated successfully, but these errors were encountered: