Edit this page

OnFilterMenuShowing

This event is fired before the filtering menu is rendered.

Fired by RadGrid
Arguments menu - filtering menu instance tableView - filtering menu instance gridColumn - current GridColumn object domEvent - the original browser event
Can be canceled Yes, set eventArgs.set_cancel(true) to cancel

Example:

<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server">
    <ClientSettings>
        <ClientEvents OnFilterMenuShowing ="FilterMenuShowing" />
    </ClientSettings>
</telerik:RadGrid>
function FilterMenuShowing(sender, eventArgs) {
    if (eventArgs.get_column().get_uniqueName() == "ClientID") {
        eventArgs.get_menu().get_element().className = "MyClass";
    }
    else {
        eventArgs.get_menu().get_element().className = "";
    }
}