import React from 'react'; import PropTypes from 'prop-types'; import Tooltip from '../tooltip/index.jsx'; class ColumnHeader extends React.PureComponent { constructor (props) { super(props); this.handleSelect = this.handleSelect.bind(this); } handleSelect () { const { entry, qlik } = this.props; qlik.backendApi.selectValues(1, [entry.elementNumber], true); } render () { const { baseCSS, cellSuffix, colSpan, entry, styling, qlik } = this.props; const inEditState = qlik.inEditState(); const style = { ...baseCSS, fontSize: `${14 + styling.headerOptions.fontSizeAdjustment} px`, height: '45px', verticalAlign: 'middle' }; return (