Have a RadGridView set up with AutoGenerateColumns="True". The grid is populated by:
SqlDataAdapter dataAdapter = new SqlDataAdapter();
dataAdapter.SelectCommand = _sqlCommand;
DataTable dataTable = new DataTable();
dataAdapter.Fill(dataTable);
MRSuserSource = dataTable;
All is well at this point the end-user can use the data filter of the grid to sort on whatever column and whatever data. Using AutoGenerateColumns because based on SQL database the number of columns will be more or less.
Looking to create specific filters.
Using some samples and documentation running into a problem on how to do the "column programmatically" as seen in this document "https://docs.telerik.com/devtools/wpf/controls/radgridview/filtering/programmatic#filtering-single-column".
The question becomes how is to define the filter when the columns are automatically created and getting the DataTable to be seen as "GridViewColumn". Maybe missing other details that are being overlooked.