We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there way to set filter_type: "auto_complete" data source by ajax?
But i just soloved the problem by change some code:
if (columnObj.filter_type === "auto_complete") { $("#yadcf-filter-" + table_selector_jq_friendly + "-" + column_number).autocomplete({ //source: $(document).data("yadcf-filter-" + table_selector_jq_friendly + "-" + column_number), source: auto_complete_source, select: autocompleteSelect });
insert some "auto_complete_source" span just like "text_data_delimiter" near
text_data_delimiter, auto_complete_source, text_data_delimiter = columnObj.text_data_delimiter; auto_complete_source = columnObj.auto_complete_source;
Useage: {column_number: 0,filter_type: "auto_complete", auto_complete_source:"{{ URL::to('admin/sites/auto-complete') }}"},
Excause for my poor english, Thank you all the same Daniel Reznick 👍
The text was updated successfully, but these errors were encountered:
bSmart is set to true in contains
763f148
auto_complete filter can accept an object to use it later in its constructor (for examplefor external ajax source) #148 #144
Hi, Try using the filter_plugin_options , something like filter_plugin_options: { source: "somePage.php" } or some more complex code like in http://jqueryui.com/autocomplete/#remote-jsonp example.
filter_plugin_options: { source: "somePage.php" }
I haven't tried it myself so in case that it wont work please post a link to your page so I can debug it.
Sorry, something went wrong.
Great ,it work!!!
50331dd
No branches or pull requests
Is there way to set filter_type: "auto_complete" data source by ajax?
But i just soloved the problem by change some code:
insert some "auto_complete_source" span just like "text_data_delimiter" near
Useage:
{column_number: 0,filter_type: "auto_complete", auto_complete_source:"{{ URL::to('admin/sites/auto-complete') }}"},
Excause for my poor english, Thank you all the same Daniel Reznick 👍
The text was updated successfully, but these errors were encountered: