Click here to Skip to main content
15,914,452 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Member,
i give a link

http://tomcoote.co.uk/wp-content/CodeBank/Demos/columnFilters/demo.html[^]

in this example sorting from gridview is ok.but problem is that it search only from 1st letter.i want to search it if any character match with any record of this columns then it will filter..

please solved it
Posted
Updated 18-May-12 9:36am
v2
Comments
Arvind Chandrasekaran 25-Aug-12 7:38am    
How add this solution yo our application
Arvind Chandrasekaran 25-Aug-12 7:39am    
Above jquery how to add in our solutions
send me mail sureshmca611@gmail.com
thanks

1 solution

i investigated link and demos and i found what you need

JavaScript
(function($){

	$.fn.columnFilters = function(settings) {
		var defaults = {  
			wildCard: "",  
			notCharacter: "!",
			caseSensitive: false,
			minSearchCharacters: 1,
			excludeColumns: [],
			alternateRowClassNames: [],
			underline: true,
			};  


set wildCard: "", its default is wildCard:"*", remove * it will work like contains
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900