Tips
Disable title on header cell hover
- Set the
titlefield inStkTableColumnto an empty string (""). This will remove the title from the th element. - Use the
customHeaderCellproperty inStkTableColumnto customize header cell rendering.
Filter
Not supported yet. You can implement this functionality throughcustomHeaderCell.- Built-in custom filter component. FilterCell
props.fixedMode
- For older browsers, If you are using a low version of browser, you need to set the width of
.stk-table-maintounsetin css. Otherwise, the width of the column will be 0.
customCell width control
- Since
customCellis a child element oftd, if you find that the flex width control incustomCellis not working, you can set a smaller width forStkTableColumn['width']to make the flex container calculate. Otherwise, theflexcontainer will calculate the width of the child element's text (max-content).