Skip to content

[Grid] toolbar: how to change the color show columns checkbox #406

@Oussemasahbeni

Description

@Oussemasahbeni

Image
is it possible to change the color of these checkbox, when i use checkbox directly i can do it with the color='primary' or 'accent' or wtvr , is it possible to change the checkbox of the grid like that ? currently its taking the accent color as the default i guess

i assume this the part of the code that can be changed, maybe you can add an input for the color of the checkbox

    <mat-checkbox class="mtx-grid-column-menu-item-label"
      [(ngModel)]="col[selectableChecked]" [disabled]="col.disabled"
      (change)="_handleChecked(col)">{{col.header | toObservable | async}}</mat-checkbox>
  } @else {
    <span class="mtx-grid-column-menu-item-label">{{col.header | toObservable | async}}</span>
  }`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions