Did anyone tried individual column filtering (using select menus)?
Did anyone tried individual column filtering (using select menus)?
vicky200456
Posts: 8Questions: 1Answers: 0
i tried to use individual column filtering(using select menus) plug-in filter the individual column
However, i found a problem on it
i copied the sample in my code. It haven't any error.
But, when added some attribute in Initialise the DataTable, the select menu cannot show properly
[code]
"sPaginationType":"full_numbers",
"sScrollX": "100%",
"sScrollY": "100%",
"aaSorting":[[0, "asc"]],
"bJQueryUI":true
[/code]
when selected once, the menu will disappear....
how to fix this problem?
forgive me my poor english.
However, i found a problem on it
i copied the sample in my code. It haven't any error.
But, when added some attribute in Initialise the DataTable, the select menu cannot show properly
[code]
"sPaginationType":"full_numbers",
"sScrollX": "100%",
"sScrollY": "100%",
"aaSorting":[[0, "asc"]],
"bJQueryUI":true
[/code]
when selected once, the menu will disappear....
how to fix this problem?
forgive me my poor english.
This discussion has been closed.
Replies
original code(sample code) with no error:
[code]
/* Initialise the DataTable */
var oTable = $('#datatables').dataTable( {
"oLanguage": {
"sSearch": "Search all columns:"
}
} );
[/code]
after i added some option:
[code]
/* Initialise the DataTable */
var oTable = $('#datatables').dataTable( {
"oLanguage": {
"sSearch": "Search all columns:"
},
"sPaginationType":"full_numbers",
"sScrollX": "100%",
"sScrollY": "100%",
"aaSorting":[[0, "asc"]],
"bJQueryUI":true
} );
[/code]
Select menu can show properly, like this:
http://i.imgur.com/IfuSJZ6.jpg
but ,when i selected once
http://i.imgur.com/Dspd8PP.jpg
the filtered result was shown
http://i.imgur.com/Dspd8PP.jpg
the select menu will disappear after i selected
http://i.imgur.com/9c2X5Fu.jpg