sohilgupta123 / jquery-datatables-column-filter

Automatically exported from code.google.com/p/jquery-datatables-column-filter
0 stars 0 forks source link

Span class is different for text and number filters than date and select filters. #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
For example on 
http://jquery-datatables-column-filter.googlecode.com/svn/trunk/customFilters.ht
ml, the text filter and select filter have different classes in their wrapper 
spans.

What is the expected output? What do you see instead?
I expected the same class for both (so I can do selectors on "th 
span.filterColumn"). But text filter has "filter_column" while Select and the 
rest have "filterColumn".

What version of the product are you using? On what operating system?
1.4.7

Please provide any additional information below.
The fix is probably just alter fnCreateInput function to make the class of the 
span be filterColumn not filter_column.
th.wrapInner('<span class="filterColumn"

Really minor thing, I changed it in my copy, and now it works like I expect.

Original issue reported on code.google.com by aguakan...@gmail.com on 8 May 2012 at 6:42

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for this. In the latest version, CSS class is called filter_column in 
all cases. Other columns are still filter_number, filter_text etc.

Regards,
Jovan

Original comment by joc...@gmail.com on 4 Sep 2012 at 8:21