On Create Default Column filter AJAX Call

On Create Default Column filter AJAX Call

elgransanelgransan Posts: 3Questions: 0Answers: 0
edited October 2013 in General
Hello, I have this:

[code]
var oTable = $('.table').dataTable({
"sAjaxSource": "/AjaxList",
});
[/code]

With others plugins, etc... I need to set:

[code]
oTalbe.fnFilter("filtering data", 0);
[/code]

Before the ajax call, because I'm saving default column filters on my page. I couldn't find help on the forum, any idea how to do this?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    edited October 2013
    So you want to set the filter in the initialisation object? Just use the option to do that: aoSearchCols

    Allan
  • elgransanelgransan Posts: 3Questions: 0Answers: 0
    That's all I want!!! I couldn't find that option, thank you!
This discussion has been closed.