You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`sortedHeader` allows you to customize `class` or `style` for `header cell` which is currently sorting. `sortedHeader` accepts two `attributes`, `classes` and `style`.
110
-
111
-
* classes
112
-
* style
113
-
114
-
**sortedHeader.classes - [String | Function]**
115
-
116
-
Append customized classes for `header cell` which the table was sorting based on.
110
+
`sortingHeaderClasses` allows you to customize `class` for `header cell` which the table was sorting based on.
117
111
118
112
```js
119
-
constsortedHeader= {
120
-
classes:'demo-sorted'
121
-
};
113
+
constsortingHeaderClasses='demo-sorting';
122
114
```
123
115
124
116
Furthermore, it also accepts a callback function which takes `2` arguments and `String` is expected to return:
It's similiar to `sortedHeader.classes`. It allows to customize style of `header cell` which is sorting based on. `Object` and `callback` function are acceptable. `callback` takes `2` arguments and an `Object` is expected to return:
127
+
It's similiar to `sortingHeaderClasses`. It allows to customize style of `header cell` which is sorting based on. `Object` and `callback` function are acceptable. `callback` takes `2` arguments and an `Object` is expected to return:
0 commit comments