Hi
I'm trying to implement filtering by column on a Telerik Radgrid, using esdatasource and following the example code below:
Code:
ds = GetDataSet("SELECT Country, City, Address FROM Customers")
Dim dataColumn As DataColumn
For Each dataColumn In ds.Tables(0).Columns
Dim gridColumn As New MyCustomFilteringColumn()
Me.RadGrid1.MasterTableView.Columns.Add(gridColumn)
gridColumn.DataField = dataColumn.ColumnName
gridColumn.HeaderText = dataColumn.ColumnName
Next dataColumnHow does this translate to looping through the underlying datatable columns in an ES collection (coll) instead of a dataset? I thought that this would work, but apparently not:
Code:
For Each dataColumn In coll.es.Meta.Columns