JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › OnFilter Event (Blazor) › Reply To: OnFilter Event (Blazor)
November 24, 2021 at 5:15 pm
#102591
Yavor Dashev
Participant
Hi TurricanDE,
I have prepared a quick code snippet on how to achieve the functionality that you need.
private void filterEvent(Event ev)
{
GridFilterEventDetail filterEventDetail = ev["Detail"];
Console.WriteLine(filterEventDetail.Data[0].filter.filters[0]);
Console.WriteLine(filterEventDetail.Data[0].dataField);
}
Let me know what you think!
Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/