Search
11428 results 2041-2050
Forum
- 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
- 17th Feb 2010How to do "exact match" filtergot it, thank.
- 20th Jan 2010ServerSide Search or filter on selected columnDarn! I was tracing with firebug and i just saw that... i was jumping over here to say I figured it out and save you having to answer. :) Thanks again!!!
- 12th Nov 2009Get total record count after filterNever mind. Found the answer here: http://datatables.net/forums/comments.php?DiscussionID=501&page=1#Item_0