Hi,
I'm using the following codes to remove the some of the filter selections. For some reason, it set the filters for all of the datetime columns to 'no filter'
I'm using the following codes to remove the some of the filter selections. For some reason, it set the filters for all of the datetime columns to 'no filter'
GridFilterMenu menu = GridWellVent.FilterMenu;
int i = 0;
while (i < menu.Items.Count)
{
if (menu.Items[i].Text == "NoFilter" || menu.Items[i].Text == "Contains")
{
i++;
}
else
{
menu.Items.RemoveAt(i);
}
}
thanks,
Minh Bui