Search
14048 results 1461-1470
Forum
- 10th Oct 2010ajax and search screenI have suppressed "sAjaxSource" at the initialisation of the datatable and the following function is called by the click on the button. it works fine, thanks !! [code] function search(){ oTable = $("#tableSearch").dataTable(); oTable.fnClearTable(); $.getJSON("/ModificationController/ajax",callBack); function callBack(data) { $.each(data, function(i,row){ oTable.fnAddData( row); } ); }; }; [/code]
- 6th Oct 2010Add Double-click Event to Search BoxThanks again Allan. The code that you left cleared the search box but it didn't reset the table results. I added "oTable.fnFilter('');" to the code as shown below and it works great. $('div.dataTables_filter input ').dblclick(function () { $(this).val(''); $(this).keypress(); oTable.fnFilter(''); });
- 6th Oct 2010set global search value to a parameter in the urlYou can use oSearch to set the initial search string: http://datatables.net/usage/options#oSearch , and then all you need to do is get the search string from the window.location.href string. Allan
- 30th Sep 2010Search fails after 4 characters - DataTables JavaScript librarycharacter and the datatables search fails when that character
- 28th Sep 2010Search on hidden column...Columns can be hidden by setting {"bVisible": false } for the columns. See here for examples: http://www.datatables.net/examples/basic_init/hidden_columns.html By default, the column will remain searchable. By setting bSearchable the column can be excluded from search too, e.g. {"bVisible": false, "bSearchable": false }
- 20th Sep 2010After edit with jeditable, row no longer shows in search.if there is any search filtering on the column
- 22nd Aug 2010How do I change it from a min of 3 characters ro a min of 1 character for search?For example: http://datatables.net/ and search for 'z'. I guess
- 17th Aug 2010disable Search Filter Text boxto remove the global search box, but leave the
- 2nd Aug 2010Search - tweaking?Allan, How can I do this smart search (search "2.0 1.8") from your demo table, in server-side datatables? Thanks!
- 21st Jul 2010turning off searchwhile a default initial search string is an option.