TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Hemant Panchal
NA
642
627.2k
w2ui grid search
Sep 8 2015 7:18 AM
Hello all, I am working on w2ui grid search, I want to have a multiple column search in same textbox. Search text is separated by space.
Suppose my data is
"records": [
{ "recid": 1, "fname": "John", "lname": "Doe", "email": "
[email protected]
", "sdate": "4/3/2012" },
{ "recid": 2, "fname": "John", "lname": "Motzart", "email": "
[email protected]
", "sdate": "4/3/2012" },
{ "recid": 3, "fname": "John", "lname": "Franson", "email": "
[email protected]
", "sdate": "4/3/2012" },
{ "recid": 4, "fname": "Susan", "lname": "Franson", "email": "
[email protected]
", "sdate": "4/3/2012" },
{ "recid": 5, "fname": "Kelly", "lname": "Franson", "email": "
[email protected]
", "sdate": "4/3/2012" },
{ "recid": 6, "fname": "Francis", "lname": "Franson", "email": "
[email protected]
", "sdate": "4/3/2012" },
{ "recid": 7, "fname": "Mark", "lname": "Welldo", "email": "
[email protected]
", "sdate": "4/3/2012" },
{ "recid": 8, "fname": "Thomas", "lname": "Bahh", "email": "
[email protected]
", "sdate": "4/3/2012" },
{ "recid": 9, "fname": "Sergei", "lname": "Rachmaninov", "email": "
[email protected]
", "sdate": "4/3/2012" }
]
now in w2ui grid search box I am searching "John"
then it should display 1,2,3 records
thn I am searching "john fran"
then it should only display 3rd record.
NOTE: Search text is dynamic it is not specific to particular columns.
I want exact search like in datatables.net
It makes AND condition based on search sequences.
Please help thanks... :)
Reply
Answers (
2
)
Jquery validation for unique numeric field
convert aspx page data in excel using jquery