Search
11331 results 2021-2030
Forum
- 20th Jul 2011Individual column filter not working in TabCan you link to your example please? Allan
- 5th Jul 2011Search Filter helpYou would need to bind a custom filtering event handler (and unbind the default one) to the input box - similar to what is done here: http://datatables.net/plug-ins/api#fnSetFilteringDelay . Then your function would need to set the sorting as required using fnSort(). Allan
- 19th Apr 2011Show divs using string filter on first td elementAny one have any ideas?
- 17th Feb 2011SELECT filter with html dataI got it working using only text in the cells of body rows then using an onclick event on the table cell to retain link functionality.
- 13th Feb 2011Filter: startsWith instead of contains?You can use fnFilter ( http://datatables.net/api#fnFilter ) to pass in a regular expression you want to match on, including 'starts with'. Allan
- 11th Oct 2010Creation of dynamic drop down filter per columnFor those finding this thread and having missed the example with select dropdowns as I did, here it is: http://www.datatables.net/examples/api/multi_filter_select.html (I had no part in that, just repasting the link to "answer" this thread)
- 16th Sep 2010How to update the table after filter the row containing a "primary key value".Dear all, I solved in this way, but i dont' know if the best way!! [code] $('table tr:contains("KEY_STRING")').each(function(){ oTable.fnUpdate('lalalal',(oTable.fnGetPosition(this)), 3) }) [/code] thanks, Antoino
- 17th Aug 2010disable Search Filter Text boxAh, sorry I missed that. That works perfectly. Thank you.
- 13th Aug 2010BUG: after upgrade to 1.7 filter does not return all matchesOn further investigation with help from noel, it would appear that the issue is that IE (and Opera) put a newline character after a tag when I read the content from a cell to decode HTML entities. This breaks the search unfortunately. The fix is to find this line: [code] oSettings.asDataSearch[i] = nTmp.textContent ? nTmp.textContent : nTmp.innerText; [/code] And add this just after it: [code] oSettings.asDataSearch[i] = oSettings.asDataSearch[i].replace(/\n/g," ").replace(/\r/g,""); [/code] I'll release a bug fix version of DataTables with this included it it in the near future. The bug will only be triggered in rows which have HTML entities and BR tags in them. Regards, Allan
- 7th Mar 2010Adding other elements to filter area breaks searchingDataTables attaches a keyup listener to that text box - so anything that causes that to be removed would effect this. Visual Event ( http://sprymedia.co.uk/article/Visual+Event ) will be able to tell you f the event listener is still attached to the node or now. Allan