Can't search for some chars in a table. No error gets thrown in

Can't search for some chars in a table. No error gets thrown in

PeterWolfPeterWolf Posts: 4Questions: 0Answers: 0

Hey everyone,
i have a html table that looks like this:

|System Name | Value (W) | Goal (W)|
| System A | 85 | 90|
| System B | 87 | 90|
|... |... | ...|
| System Z | 88 | 90|

At the moment it is not possible to search for e,m,s,t and y as a system name. It doesn't make any difference if i switch to lower or uppercase. The console shows no erors.
I am using DataTables 1.10.9 and JQuery 1.11.3. Can somebody help me?

Replies

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    So every data cell in your "System Name" column contains the word "System"? If that is the case, then searching for any letter from the word "system" is going to return every record in the table.

  • PeterWolfPeterWolf Posts: 4Questions: 0Answers: 0

    No in the column "System Name" the name changes from System A to System B than to System C and so on. It is basically the complete alphabet. Do you know understand what is displayed over there?

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    That's precisely what I said. Every cell in that column contains the word "system". Whatever follows it is irrelevant in this context.

  • PeterWolfPeterWolf Posts: 4Questions: 0Answers: 0

    But if i search for "a" the table only displays "System A" . The same happens if i search for "b" and so on. Only if i search for e,m,s,t and y it isn't working.

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    Only if i search for e,m,s,t and y it isn't working.

    Because those are the letters which make up the word "system". And the word "system" appears in every data cell in that column. So searching for any of those letters will find every row.

This discussion has been closed.