Devextreme-reactive: Change icon of TableColumnVisibility

Created on 10 Dec 2018  路  3Comments  路  Source: DevExpress/devextreme-reactive

  • [x ] I have searched this repository's issues and believe that this is not a duplicate.

I'm using ...

  • [x] React Grid
  • [ ] React Chart
  • [ ] React Scheduler

How can I change the 'eye' icon of TableColumnVisibility to my custom Icon from material-UI?

Grid question

All 3 comments

Hi,

You can use the toggleButtonComponentproperty of the ColumnChooserplugin. As a starting point, you can take the code of our toggle button and replace the VisibilityOff icon with yours. I've prepared a sample project for your reference.

Thanks. Works perfectly!

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.

Was this page helpful?
0 / 5 - 0 ratings