gopendra-dwivedi / jquery-datatables-column-filter

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

Images in Column Head disapear #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use images in the table header (e.g. symbols for columns)
2. add ColumnFilter 1.4.7.

What is the expected output? What do you see instead?
Table head with the images, beneath the filters.
Filtering works fine, but the images in the head are removed.

What version of the product are you using? On what operating system?
Datatables  Version 1.9.0
ColumnFilter 1.4.7.
IE 7

Please provide any additional information below.
Example configuration:
var oTable = $('#example).dataTable({
            "bPaginate": false,
            "bJQueryUI": false          

    }).columnFilter({
            sPlaceHolder: "head:after",
            aoColumns: [ {type:  "text"},
                         {type:  "text"},
                         {type:  "number"},
                         {type:  "select", ues:'Yes', 'No']},
                         {type:  "text" }]

        });

<table id="example">
        <thead> 
          <tr>
            <th>Name</th>
            <th>Address</th>
            <th>Departement</th>
            <th>Cost</th>
            <th>New</th>
            <th><img src="symbol1.gif"></th>
         </tr>
         <tr id="filterHead">
                    <th>Name</th>
            <th>Address</th>
            <th>Departement</th>
            <th>Cost</th>
            <th>New</th>
            <th></th>
          </tr>
        </thead>
....
</table

Original issue reported on code.google.com by bauer...@gmail.com on 20 Feb 2012 at 9:12

GoogleCodeExporter commented 9 years ago
Sorry, it's not a bug. 
I just realized that the beavior changed since Version 1.4.1. Now the first 
header-row is used as the filtering-row.

Original comment by bauer...@gmail.com on 21 Feb 2012 at 4:03

GoogleCodeExporter commented 9 years ago

Original comment by joc...@gmail.com on 21 Feb 2012 at 10:06