Steps to reproduce the behavior:
Version
ids-enterprise: 4.26.1
I think to fix this should skip certain formatted columns like button, alert, badge ect. For link it should try to highly the value in the link.
Or only check actual visual text somehow?
There is also issue with Keyword search making the Edit Formatter Button disappear and incorrectly showing it in search results.


QA Passed
The issue is now resolved.
v4.29.0-dev
https://master-enterprise.demo.design.infor.com/components/datagrid/example-keyword-search.html

@jbrcna & @tmcconechy, clicking on the highlighted link doesn't work when link text is searched. User should be able to navigate to the part specified by hyperlink. The example you provided doesn't have real hyperlinks to navigate to some other parts of the page or to another page. So, this use case can not be verified by that example.
If the non-link text is being searched, the hyperlinks are working. It's only when link text is searched that the hyperlinks don't work when clicked in the search result row.
cc @karinthulin
The link is not set to do anything in this example @hemantg05 so i think its Ok. We dont really have anything to make these navigate to. But in a real case you can set the href or use the click event to navigate.
@tmcconechy, yes, we have set href in our application and it is not working. I just mentioned that such cases should also be covered during testing so that application developers don't have to find these issues and can be caught and fixed during bugfix/development itself.
I just tested this and it seems to work OK for me...
I changed the EP example app/views/components/datagrid/example-index.html to:
columns.push({ id: 'productName', name: 'Product Name', field: 'productName', formatter: Formatters.Hyperlink, width: 300, minWidth: 100, href: 'http://www.google.com', target:'_blank'});
Maybe something in your app router is going wrong. Either way if you can track down the issue lets make a seperate issue for this.
I pushed that to the example for future testing https://github.com/infor-design/enterprise/commit/1e78ce577569c9d4ccf6c9ab1ea2318be42930f4
@tmcconechy,
Did you test the third scenario?
If there were was some issue with our app router, I think it wouldn't have worked for case 1 and case 2 as well. So, I suspect this is an IDS issue.
cc @karinthulin
Yes i "think" i tested it but can you clarify steps? Example on master branch (not deployed yet but running so soon...) https://travis-ci.com/github/infor-design/enterprise/jobs/346621045
http://localhost:4000/components/datagrid/example-keyword-search.html
What do you think @deep7102 ? See anything wrong here?
Steps to reproduce:
Expected Result: App should navigate to the page/site/section specified by hyperlink
Actual Result: Nothing happens. Navigation isn't working.
cc @karinthulin
OK i see. thanks for clarifying. i will reopen and @deep7102 can address that case
The issue is now resolved. Thank you.
Verified in
https://master-enterprise.demo.design.infor.com/components/datagrid/example-keyword-search.html?theme=uplift&variant=light&colors=0066D4


Is there a way to add a different link per row?
@dmolinaj you can use the href as a function or put {{value}} in the string that will be replaced with the value see https://github.com/infor-design/enterprise/blob/main/src/components/datagrid/datagrid.formatters.js#L261-L269
Also please use MS Teams for questions not posting on old closed issues
Most helpful comment
OK i see. thanks for clarifying. i will reopen and @deep7102 can address that case