Hello. I need to do a search like this:

Hello. I need to do a search like this:

leonel4x4leonel4x4 Posts: 1Questions: 1Answers: 0

Description of problem:
I need to do a search like this:
if I enter a 3, it looks for everything that starts with the 3, I do NOT want it to look for the records that contain a 3 anywhere.
How do I do it?

Answers

  • kthorngrenkthorngren Posts: 21,336Questions: 26Answers: 4,951

    Start by reading the search() docs to learn about the different search modes. Sounds like you will want to use regex mode with smart mode turned off. Use ^ at the beginning of the search string to match from the beginning.

    You will likely want to restrict this search to the desired column using column().search().

    Also take a look at this example.

    Kevin

Sign In or Register to comment.