diff --git a/src/rowmanager.js b/src/rowmanager.js index cf9934f..606ec6b 100644 --- a/src/rowmanager.js +++ b/src/rowmanager.js @@ -325,7 +325,8 @@ export default class RowManager { if (props.isFilter) { row = row.map(cell => (Object.assign({}, cell, { content: this.getFilterInput({ - colIndex: cell.colIndex + colIndex: cell.colIndex, + name: cell.name }), isFilter: 1, isHeader: undefined, @@ -347,8 +348,10 @@ export default class RowManager { } getFilterInput(props) { + let title = `title="Filter based on ${props.name || 'Index'}"`; const dataAttr = makeDataAttributeString(props); - return ``; + return ``; } selector(rowIndex) {