Data displays in grid, Filters show correct data, but after filter is selected, data in grid is not filtered.

Jul 1, 2015 at 9:29 PM
Using VS 2012 and .NET 4.0
  1. Reading data from SQL into DataTable using SQLDataAdapter: da.Fill(dt)
  2. Loading data into ADGV this way: DataGridView1.DataSource = dt
Data is displayed correctly in Grid.

When a Column Filter is changed, the grid is not filtered.

What is the problem?

Thanks
Sep 13, 2015 at 12:39 AM
Ni la ordenacion ni el filtrado instalado en Visual Studio 2013, cual es el problema
Aug 26, 2016 at 9:47 AM
try this:
        private void DataGridView1_FilterStringChanged(object sender, EventArgs e)
        {
            var myDataGrid = sender as Zuby.ADGV.AdvancedDataGridView;
             (myDataGrid.DataSource as DataTable).DefaultView.RowFilter = myDataGrid.FilterString;
        }
 
       private void DataGridView1_SortStringChanged(object sender, EventArgs e)
        {
            var myDataGrid = sender as Zuby.ADGV.AdvancedDataGridView;
            (myDataGrid.DataSource as DataTable).DefaultView.Sort =  myDataGrid.SortString;
        }