gustavnavar / Grid.Blazor

Grid component with CRUD for Blazor (client-side and server-side) and ASP.NET Core MVC
GNU Lesser General Public License v2.1
697 stars 135 forks source link

Sorting and filtering for component columns #341

Closed comichael closed 2 years ago

comichael commented 2 years ago

As the documentation states, sorting and filtering will not work on custom columns.

I have a column rendered as an Input field Blazor component, with numeric values, and my client has requested filtering and sorting on this column.

It would be appreciated if this was implemented.

If it is unlikely that this will be done, could anyone point me in the right direction? Alternatively, if anyone has already done it, could you show some code samples?

gustavnavar commented 2 years ago

Maybe you can use a database view (https://github.com/gustavnavar/Grid.Blazor/issues/39)

Could you describe how this column is related to the database fields?