Did anyone tried individual column filtering (using select menus)?

Did anyone tried individual column filtering (using select menus)?

vicky200456vicky200456 Posts: 8Questions: 1Answers: 0
edited January 2014 in General
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.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Can you please link to a test case showing the problem: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read
  • vicky200456vicky200456 Posts: 8Questions: 1Answers: 0
    Thanks allan,

    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
This discussion has been closed.