JqueryDataTablesServerSide icon indicating copy to clipboard operation
JqueryDataTablesServerSide copied to clipboard

[QUESTION] Searching Enum value as string instead of short/int

Open vukasinpetrovic opened this issue 3 years ago • 2 comments

Describe the question I implemented one column that represents Enum value and added searching and sorting to it. Sorting works ok, but I have problem with searching. Column displays string value of enum (Genre: "Male, Female, Other"), when I search by string name no results show, but when I type 0,1,2 in search box, results show according to enum values. How can I overcome this problem?

Here below is my implementation

image image image image

Desktop (please complete the following information): Desktop (please complete the following information): OS: [e.g. iOS] MacOS Big Sur Browser [e.g. chrome, safari] Chrome Version [e.g. 22] 91 .NET Core 3.1

vukasinpetrovic avatar Jun 09 '21 21:06 vukasinpetrovic

@fingers10 Can you help me with this?

vukasinpetrovic avatar Jun 16 '21 10:06 vukasinpetrovic

@fingers10 Any info on this?

vukasinpetrovic avatar Jul 03 '21 12:07 vukasinpetrovic