doonfrs / pluto_grid_plus

PlutoGrid is a dataGrid for flutter that can be controlled by the keyboard on desktop and web. Of course, it works well on Android and IOS.
https://pluto.weblaze.dev
MIT License
27 stars 28 forks source link

When changing the background color of a column header with a filter only the title widget is affected [Bug] #52

Open VittorioParagallo opened 4 months ago

VittorioParagallo commented 4 months ago

I'm not sure if this is intended or a bug, but i didn't find anyway a trick to change filter background color.

Steps to reproduce the bug

create a table with filters and change column background color

Expected results

the background color is applied to the whole column heading widget.

Actual results

Screenshot 2024-07-09 alle 16 35 34

Code sample

    PlutoColumn(
              backgroundColor: const Color.fromARGB(251, 187, 140, 106),
              title: 'id',
              titleSpan: _getTitleSpan('id'),
              width: 150,
              field: Contact.contactIdFieldDbName,
              type: PlutoColumnType.text(),
            ),