Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
Highlight search results
Community
›
Forums
›
Technology & Integration
Highlight search results
New Post
New Post
Greg Berger
Posted on 2013-04-23
Greg Berger
Rank: #9518
Posted on 2013-04-23
I have a search function in my app where the user can enter one or more search terms (like 'Chase Bank') and I search a number of tables for matches. I have everything worked out and am getting the results I want except that I need to be able to highlight those terms (bold, maybe different font color, etc) in the results displayed in a table. I could have sworn there was an example of this in one of the sample apps with the platform but can't find it now. I'm assuming I need to find all instances of the terms (case insensitive) and wrap them with some html.
Anybody done this? Have some pointers? Thanks...
Gonçalo Martins
mvp_badge
mvp_label
Posted on 2013-04-23
Gonçalo Martins
mvp_badge
mvp_label
Rank: #49
Posted on 2013-04-23
Solution
Highlight_Search_GM_withIPP.oml
Hi Greg,
I found here in my old things a jQuery plugin to do something like that.
I just implemented it in a simple and quick application screen to make it easy for you to use.
It's just something like this:
I didn't had time to do more tests, but I'm sure it works.
Hope it helps and just give me some feedback..
Cheers,
Gonçalo Martins
Solution
Gonçalo Martins
mvp_badge
mvp_label
Posted on 2013-04-24
Gonçalo Martins
mvp_badge
mvp_label
Rank: #49
Posted on 2013-04-24
Solution
Any feedback, Greg?
It worked for your needs?
Let me know if so.
Greg Berger
wrote:
I have a search function in my app where the user can enter one or more search terms (like 'Chase Bank') and I search a number of tables for matches. I have everything worked out and am getting the results I want except that I need to be able to highlight those terms (bold, maybe different font color, etc) in the results displayed in a table. I could have sworn there was an example of this in one of the sample apps with the platform but can't find it now. I'm assuming I need to find all instances of the terms (case insensitive) and wrap them with some html.
Anybody done this? Have some pointers? Thanks...
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...