bosskmk / pluto_grid

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
664 stars 305 forks source link

[Feature] PlutoGrid Styles/Configuration #870

Closed Lorenzobettega closed 1 year ago

Lorenzobettega commented 1 year ago

I'm trying to do this in PlutoGrid:

image

But, I'm missing some Features to change the grid colors:

1- First of all, I had to change one per one the column background:

image

PlutoColumn(
    title: 'column1',
    field: 'column1',
    type: PlutoColumnType.text(),
    enableRowChecked: true,
    enableColumnDrag: false,
    enableContextMenu: false,
    enableDropToResize: false,
    backgroundColor: Color.fromRGBO(0,67,0,1),
),

2- After I did that, I found 3 problems:

image 1) Red Problem: I didn't have any option to change only the First Check Box color, that is hidden because have the same tone of the background. 2) Orange Problem: For a uknown reason appear a green line between any Column, that I also cannot modify. 3) Blue Problem: It still missing switch the border of the top, that I tried any option but none of them can do that.

2 and 3 can be "solve" changing gridBackgroundColor (Part 1), but that way afect in the in the rest that I dont want(Part 2):

image

Lorenzobettega commented 1 year ago

@bosskmk

Macacoazul01 commented 1 year ago

The problem is on line 1539 of \pluto_grid\lib\src\pluto_grid.dart

static const double gridPadding = 2.0;

this doesn't make any sense

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.