I need to find a DataTable and return true if a specific "row" is found in the table. As a starter I have this . But it continues to return true, and the value is always "found", even if nothing like this is in the table. What am I doing wrong?
if(table.columns().search("ddd")) { alert("found"); return true; } else { alert("not found"); return false; }
In the Datatable documentation you can see this Link . According to this link, the search result will be a string, if it is searchable, and if there is no match, it will return an empty string.
, , . , , keyup. ?
keyup
Source: https://habr.com/ru/post/1669229/More articles:Scala - Make implicit value classes available in another scope - scalaHow to find the angle formed by the blades of a wind turbine when yaw changes? - c ++OpenCV Birdseye without data loss - javaHow can I read data received in application / x-www-form-urlencoded format on a Node server? - node.jsConcurrency problem when using ConcurrentHashMap - javaPig Latin Translator. C # Homework - c #OnUpdate () does not call the widget service - androidКак удалить blob с помощью функций Azure? - c#Maven executable Jar throws error on startup - javaHow to find the angle formed by the blades of a wind turbine relative to the horizontal imaginary axis? - c ++All Articles