On which entity, you would like to report a bug?
Datagrid
Description
The label displayed with noResultLabel does not spread through all the columns when used with rowSelection. This is because the colSpan attribute does not take into account the extra column added with rowSelection.
|
<td |
|
className="text-center" |
|
colSpan={columns.length + (!renderSubComponent ? 0 : 1)} |
|
> |
|
<DataGridTextCell> |
|
{noResultLabel ?? t('common_pagination_no_results')} |
|
</DataGridTextCell> |
|
</td> |
Steps to reproduce
use Datagrid with both noResultLabel and rowSelection props.
Browser
all
Operating System
Additional Information
No response