fingers10 / JqueryDataTablesServerSide

Asp.Net Core Server Side for Jquery DataTables Multiple Column Filtering and Sorting with Pagination and Excel Export
MIT License
227 stars 37 forks source link

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

Open vukasinpetrovic opened 3 years ago

vukasinpetrovic commented 3 years ago

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 commented 3 years ago

@fingers10 Can you help me with this?

vukasinpetrovic commented 3 years ago

@fingers10 Any info on this?