Set filter from client result in duplicated fields

3 replies. Last post: July 4, 2012 11:33 PM by Hans Kristian
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Cuong LyMember

Hi,

I am trying to set the filter programatically from client side as following :


                    var filter = new WebGridFilter(); // create new Filter configuration

                    filter.Name = "Accepted";

                    filter.ColumnMember = "Accepted";

                    filter.FilterType = "EqualTo";

                    filter.FilterText = acceptedStatus;

                    //filter.SetChanged();

                    grid.RootTable.FilteredColumns.Add(filter);

                    grid.RootTable.UpdateUI();

                    grid.Refresh(); // apply changes

However, when the filter applied, I got duplicates for all data fields (as shown in the .jpg file). Can you take a look at my sample project to see if I did anything wrong please?

Thanks,

Cuong


All times are GMT -5. The time now is 12:31 PM.
Previous Next