devextreme-reactive
devextreme-reactive copied to clipboard
Custom column sort icon in Bootstrap4 template
I'm using ...
React Grid
Description
Installation of the OpenIconic icons for Bootstrap4 version
Is not necessary, if you don't want to use these icons.
But there is only one solution to replace sorting icons - replace TableHeaderRow's sortLabelComponent
So, I propose to add sortIconComponent for SortLabel
https://github.com/DevExpress/devextreme-reactive/pull/2540
Hi @iegik,
Thank you for your interest in our Grid. We'll help you implement this feature.
First of all, we implement all features for all themes (Material-UI, Bootstrap 3, Bootstrap 4). It would be great to add implementations for Material-UI and Bootstrap 3 in your pull request.
Also, we provide components via a plugin's properties. For example, the TableHeaderRow plugin has the sortLabelComponent property. You need to add sortIconComponent in the TableHeaderRow plugin and pass it to the SortLabel.
@LazyLahtak thanks for response! I'll definitely add sortIconComponent to the TableHeaderRow and try to do same with Material-UI and Bootstrap 3.