birendranathmaity / jquery-datatables-column-filter

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

Unable to attach Column Filter to Data Table using Fixed Columns #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I am using Fixed Column Plug In in my data table along with Horizontal & 
Vertical Scroll. This works well.
2. To have column filter in the table, I am using the Column Filter Plug In. 
3. when I run the page I get the error. 

What is the expected output? 
Column Filter should appear.

What do you see instead?
I get the below error, 
"Microsoft JScript runtime error: Object doesn't support property or method 
'columnFilter'"
on the line "$('#tblSourceDataMapp').dataTable.columnFilter();"

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

Please provide any additional information below.
Below if the javascript,
<script type="text/javascript" 
src="Scripts/Datatables/js/jquery.dataTables.js"></script>
    <script type="text/javascript" src="Scripts/Datatables/js/FixedColumns.js"></script>
    <script type="text/javascript" src="Scripts/Datatables/js/jquery.dataTables.columnFilter.js"></script>
$(document).ready(function () {
            var oTable = $('#tblSourceDataMapp').dataTable({
                "oLanguage": { "sSearch": "Search Data Mapping Grid:" },
                "iDisplayLength": 10,
                "aaSorting": [[0, "asc"]],
                "sScrollY": "300px",
                "sScrollX": "100%",
                "sScrollXInner": "300%",
                "bScrollCollapse": true
            })
            new FixedColumns(oTable, {
                "iLeftColumns": 3,
                "iLeftWidth": 225                
            });

            $('#tblSourceDataMapp').dataTable.columnFilter();

Original issue reported on code.google.com by salil...@gmail.com on 23 May 2012 at 9:46

GoogleCodeExporter commented 9 years ago
Hey, I am facing the same issue, did you manage to solve this?

Please share your solution with me.

Thanks.

Original comment by naveedja...@gmail.com on 24 Apr 2014 at 7:35