This code filters a grid on the 'capital' column.
To make it more dynamic how do you go about replacing the hardcoded column name with a variable? A naked Javascript variable doesn't work here.
Many Thanks
Chris
Code:
var cFilterString = "port"; countryList.filterData({capital: cFilterString})
Many Thanks
Chris