KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Datatable search filed not working . #2877

Open manish opened this topic on on Nov 17, 2022 - 4 comments

manish commented on Nov 17, 2022

Dear koolreport team,

I am using koolreport datatable in my reporting project ,datatable is working as aspected but only problem is that when searching in its search box it workes for only first word .

kindly help me on this .

Thanks & regard Manish .

manish commented on Nov 17, 2022

Dear team kindly update on the same .

Sebastian Morales commented on Nov 21, 2022

You can change DataTables' search mode, which is "smart" by default, to "exact" and see if it's what you want:

https://www.koolreport.com/docs/datagrid/datatables/#custom-attributes-searchmode-(%22or%22-since-version-%3E=-3.0.0,-%22and|exact%22-since-version-6.0.0)

DataTables::create(array(
    ...
    "searchMode" => "exact", //"smart", "or", "and", "exact"
manish commented on Dec 2, 2022

Dera team ,

Thanks for answering , That is working fine now.

DVBI commented on Nov 29, 2023

I am facing the same issue but making searchMode exact is not solving my issue if "Firearm Licensing Authority" this is the string I can only search for "Firearm", I am not able to search for "Licensing" its showing nothing

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
bug
solved

None