Search
14013 results 3141-3150
Forum
- 27th May 2013add placeholder to search Input filedIts possible using Editor 1.2.3 and the attr option for the fields: http://editor.datatables.net/fields/#text . [code] editor.add( { "label": "Name:", "name": "name", "attr": { "placeholder": "Your name" } } ); [/code] The attr option is attractive because it allows any HTML attribute to be controlled on the input element. Regards, Allan
- 30th Apr 2013Add help message to the search boxHow about using the placeholder attribute: http://live.datatables.net/uhaxez/edit#javascript,html Allan
- 23rd Mar 2013load page, user enters search, then hits "search" button"aren't submitting the values DataTables needed for server-side processing" - no, they were getting passed in correctly. (i should have shown the searchTerms) anyway, got it finally. it was simply this: success: fnCallback, in the ajax call. fnServerData requires that unlike sAjaxSource (apparently!) :) many thanks allan...
- 4th Feb 2013Exclude Header TH in SearchAnything in the THEAD is excluded, anything in TBODY (including TH cells) is included. To exclude certain cells you'd need to use custom filtering. Allan
- 4th Feb 2013fnFilter search by different thanWell, finally i did it using regular expression thanks to another post i found on this forum. Here's my solution to look for something different than "No" for the column 7. [code]table.fnFilter('^((?!No).)*$', 7, true);[/code]
- 8th Dec 2012server side : multiple field search + select all rowMany thx for the answer first of all. I just see this example but i don't understand how to merge the two examples.
- 23rd Nov 2012Help on the implementation of the multi-column search custom button click event[code] $.fn.dataTableExt.afnFiltering.push( function( oSettings, aData, iDataIndex ) { var account= document.getElementById('account').value; var setdata= document.getElementById('setdata').value ; var colunm1= aData[0]; var colunm2= aData[1]; if ( account== "" && setdata== "" ) { return true; }else if ( colunm1== account && colunm2 == setdata) { return true; } else return false; } ); [/code] Seem to find a solution, and very grateful to the authors developed a convenient method
- 10th Oct 2012Make pagination and search shareable.Currently no - there isn't a built in way to do this, although you can easily do it using the initialisation options. You just need to parse the query string and pass the required parameters to DataTables ( iDisplayStart for example). This has come up a number of times recently, so I've made a note to write a tutorial about it in future, although if you do some up with your own solution, I'm sure others would be very grateful if you could share it! Allan
- 24th Jul 2012exact value search by select boxhi srimanta12, though i am not 100% sure but there is a property called "bCaseInsensitive" which by default is true why dont you make it as false and then try to filter. Arjun
- 2nd Jul 2012Filter column by passing column name and search stringThat is a planned feature for DataTables 1.10: http://datatables.net/development/roadmap Allan