Header dropdown issues in IE&Chrome (works in FF)
Header dropdown issues in IE&Chrome (works in FF)
Mike Victor
Posts: 5Questions: 0Answers: 0
I added a dropdown filter to a table header:
[code]
// add dropdown filter
echo " ";
echo " POS";
foreach($aPosArray as $pos){
echo " ".$pos."";
}
echo " ";
[/code]
This filter works fine in Firefox, but not in IE or Chrome (on Windows 7 platform)
In IE, you can get the dropdown to open but can't select anything (it just executes the sort on that column without filtering)
In Chrome, the dropdown won't even open.
Here is the script:
[code]
$(document).ready(function() {
oTable = $('#tPlayers').dataTable({
"fnDrawCallback": function ( oSettings ) {
/* Need to redo the counters if filtered or sorted */
if ( oSettings.bSorted || oSettings.bFiltered )
{
for ( var i=0, iLen=oSettings.aiDisplay.length ; i
[code]
// add dropdown filter
echo " ";
echo " POS";
foreach($aPosArray as $pos){
echo " ".$pos."";
}
echo " ";
[/code]
This filter works fine in Firefox, but not in IE or Chrome (on Windows 7 platform)
In IE, you can get the dropdown to open but can't select anything (it just executes the sort on that column without filtering)
In Chrome, the dropdown won't even open.
Here is the script:
[code]
$(document).ready(function() {
oTable = $('#tPlayers').dataTable({
"fnDrawCallback": function ( oSettings ) {
/* Need to redo the counters if filtered or sorted */
if ( oSettings.bSorted || oSettings.bFiltered )
{
for ( var i=0, iLen=oSettings.aiDisplay.length ; i
This discussion has been closed.
Replies