I have created a template column and bound it to a RadGrid.
However, I would like to implement drop down filtering on the column as you describe here:
Can you clarify if this is possible to achieve using a grid template column?
I raised a support ticket about this back in Feb 2016 and got the following response:
Thank you for contacting us.
You can add a RadComboBox control as a filter item of the TemplateColumn the same way as you did with a BoundColumn. Generally you need to implement a FilterItemTemplate and use pretty much the same approach as the one from the demo.
I hope this information helps.
I have tried this approach and I get problems. Could you please show me an example or post some code here?
Here is the definition of my Template column:
GridTemplateColumn templateColumn = new GridTemplateColumn();
templateColumn.ItemTemplate = new GenericGridLinkedItemTemplateColumn(columnName, displayName, listName, lookupType, ActiveColumnName, ItemActiveValue, popoverUrl, itemType, headerText.Replace(" ", string.Empty), genericGridUrl, tab);
templateColumn.UniqueName = columnName;
templateColumn.HeaderText = headerText;
templateColumn.AllowFiltering = true;
templateColumn.CurrentFilterFunction = GridKnownFunction.Contains;
templateColumn.AutoPostBackOnFilter = true;
templateColumn.ShowFilterIcon = false;
templateColumn.DataField = columnName;
At the moment it renders a text box to filter by, I would like to change it to a dropdown list.