Skip to content

[SfDatagrid] Remove default Sort Icon padding #1515

@DaathGit

Description

@DaathGit

Hello everyone,
I recently started using the Syncfusion DataGrid package. I was testing a few functionalities, and wanted to create a table without the default sort icon, while still keeping the sorting functionality on the header cell tap.
I set it up like this:
SfDataGridTheme( data: SfDataGridThemeData( sortIcon: Container(), ), child: SfDataGrid( columns: _buildColumns(dataSource), source: dataSource, allowSorting: true, ), )

But it's still adding a padding at the end of the Header cell (if i set allowSorting to false, the padding disappears)
SfDataGrid

Is there any way to remove it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    data gridData grid component

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions