Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize color of the select row checkboxes at the side of the table #1255

Closed
Eithcowich opened this issue Apr 14, 2020 · 7 comments
Closed

Comments

@Eithcowich
Copy link

The default for the table is to have a column of checkboxes on the left side, for selecting rows.

Is there a way to customize the color of this column?

Alternatively, can I simply remove them altogether? I don't really need to allow row selection.

@ghost
Copy link

ghost commented Apr 24, 2020

In options you can add:

selectableRows: "none"

@Eithcowich
Copy link
Author

Eithcowich commented Apr 26, 2020

Thanks @IanMDay. This is good for some of my tables at https://deepdao.world, but for most of them I need them selectable, and for some clients the color of the checkboxes area needs to be customizable.

@ivan-cbqa
Copy link

@Eithcowich did you figured out how to customize the checkbox selected row background color?

@Eithcowich
Copy link
Author

@ivan-cbqa no, I did not.

@patorjk
Copy link
Collaborator

patorjk commented Jun 9, 2020

As of version 3.0.0, you can use the option selectableRowsHideCheckboxes to hide the checkboxes. If you don't want selectable rows, set the selectableRows option to "none".

Currently there is no way to change the checkbox color, however, that should be easy to add. I'll put it on the list for version 3.1.0.

@patorjk
Copy link
Collaborator

patorjk commented Jul 16, 2020

Now possible in version 3.2.0 by using a custom checkbox component (example in examples/customize-example).

@akshay-acharya-ey
Copy link

Hello, is it also possible to move the position of the select all checkbox to another position in the toolbar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants