Skip to content

Conversation

@jandic
Copy link
Contributor

@jandic jandic commented Oct 22, 2019

Fixed an issue when filtering on a data table throws an exception in cases there are no relevant columns to be filtered. Example: data table contains only numerical columns and a user types 'a letter'. Since the letter cannot be converted to a number, no where clause is generated and data.Where command was failing.

Fixed an issue when filtering on a data table throws an exception in cases there are no relevant columns to be filtered. Example: data table contains only numerical columns and a user types 'a letter'. Since the letter cannot be converted to a number, no where clause is generated and data.Where command was failing.
Allowing for custom filter definitions by a user and fixing a bug in RegisterFilter method.
EnumFilter method was crashing when a value to search was not the exact enum value. This prevented any subsequent filters to be processed.
@jandic jandic changed the title Update DataTablesFiltering.cs Fix for an issue with data table filtering and allowing for user defined filters Oct 22, 2019
@mcintyre321 mcintyre321 merged commit 6e77906 into mcintyre321:master Oct 22, 2019
@mcintyre321
Copy link
Owner

Thanks that's great!

@jandic
Copy link
Contributor Author

jandic commented Oct 22, 2019

Thanks, would you mind updating NuGet packages also, I think it currently fails?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants