Is there a better way, or built-in way, when an Item gets Filtered using the drop-down menu, to show it in the header cell like it does when you sort.
I found an old thread and copied it to my Item Command, so an image is shown for now.
Am I missing a setting to do it automatically? I let them choose the Theme, so I can't arbitrarily impose a syle on the Header.
Thanks
David
if (e.CommandName == RadGrid.HeaderContextMenuFilterCommandName)
{
Triplet arguments = e.CommandArgument as Triplet;
Pair filter1 = arguments.Second as Pair;
Pair filter2 = arguments.Third as Pair;
GridColumn column = (rgCOREPARTS as RadGrid).MasterTableView.GetColumn(arguments.First.ToString());
if (filter1.First.ToString() == "NoFilter" && filter2.First.ToString() == "NoFilter")
{
column.HeaderText = column.UniqueName;
}
else
{
column.HeaderText = column.HeaderText + "<img src = 'https://hq.certifiedtransmission.com/ufo/Images/Filter02.png' style='float: right;'>";
}
}