Bouilleoliv / flexigrid

Automatically exported from code.google.com/p/flexigrid
0 stars 0 forks source link

IE7/8 Checkbox column header: cannot add click() listener on checkbox #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a table, and in one of the header cells put a checkbox
2. Transform the table into a flexigrid via $().flexigrid();
3. Try to add a basic click listener on the checkbox in the header
4. In Internet Explorer 7/8 [also maybe 6] the click listener isn't called when 
the checkbox in the header is clicked

What is the expected output? What do you see instead?
When the checkbox in the header is clicked, nothing happens.

What version of the product are you using? On what operating system?
The latest version: v1.1

Please provide any additional information below.

Original issue reported on code.google.com by matei.dr...@gmail.com on 6 Sep 2011 at 8:17

GoogleCodeExporter commented 8 years ago
how you put a checkbox in the header

Original comment by chavato...@gmail.com on 16 Mar 2012 at 4:53

GoogleCodeExporter commented 8 years ago
Like this (very basic example):

<table class="flexme1">
    <thead>
        <tr>
            <th><input id="cb1" type="checkbox" value="1" /></th>
            <th>Non-checkbox</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>cell1</td>
            <td>cell2</td>
        </tr>
    </tbody>
</table>

The table is converted into a Flexigrid afterwards.

Original comment by matei.dr...@gmail.com on 17 Mar 2012 at 1:25