enterprise: Datagrid: Keyword highlighting no longer works in paged tables

Since upgrading to version 4.20.1, when you enter a keyword search in the DataGrid, it no longer highlights the matched string in the table rows. This used to work in older releases.

Working Example: https://design.infor.com/code/ids-enterprise/4.14.0/demo/components/datagrid/example-paging-client-side

Non-working Example: https://design.infor.com/code/ids-enterprise/latest/demo/components/datagrid/example-paging-client-side

Hint: sohoxi.js keywordSearch method on the DataGrid looks like the problem…

if (!this.settings.paging) { this.highlightSearchRows(term); }

We’ve actually documented this as a feature in our Product Guides across multiple tables, so I’d like the functionality re-instated.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Search filtering remains when changing page or sorting, it’s just the highlighting that gets removed. But yeah I think highlighting should still remain as well.

@brianjuan changed my mind and failed this to add sorting and filtering support for client side paging + keyword filtering

Surely, for client side paging at least, if I’ve filtered the table data, then the table should contain only the matching results of the filter text, whether on a single page, or over multiple pages, sorting or paging through the filtered result rows should not reset the filter or change the highlighting. Only if I clear the filter or reload the table data some how should the highlighting be removed.

Ideally it could kept that information. So lets make a new issue for that as that never worked.