Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Search functionality is not working properly #1229

Closed
hirakagile opened this issue Apr 27, 2018 · 3 comments
Closed

Search functionality is not working properly #1229

hirakagile opened this issue Apr 27, 2018 · 3 comments
Labels

Comments

@hirakagile
Copy link

hirakagile commented Apr 27, 2018

I have implemented datatable as mention in server side rendering document. i found searching functionality issue.
When entered more than 2 character in search textbox then "No data!" row is not displayed.
i attach screenshot url for this issue.
Please help me.

https://www.awesomescreenshot.com/image/3322362/cf28723fe157417a365b0d6018b11cda

Requirement
Angular : 5.2.9
Node : 8.9.4
Angular Datatable : 5.0.0

Thanks.

@l-lin
Copy link
Owner

l-lin commented May 9, 2018

Code? Did you correctly implement your server search function?

@l-lin l-lin added the Angular label May 9, 2018
@zanegoh
Copy link

zanegoh commented Jul 16, 2018

I do encountered this problem as well, it is like input the search keywords multiple times, it will not show "No data!" until you cleared the search keyword again.

To simulate this you may use your own sample at https://l-lin.github.io/angular-datatables/#/basic/server-side-angular-way

  1. Input search keywords, for example - "asd"
  2. It will prompt out "No data!" as tbody.
  3. Input search keywords again after the above keywords, for example "asda" without delete the search keyword input field.
  4. Then you will see "No data!" disappeared although there is no data.

Kindly advice on how to handle this. Thanks!

@l-lin
Copy link
Owner

l-lin commented Aug 25, 2018

One workaround here: #1260 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants