WinForms XtraGrid column filter checked listbox actual data

Y've already helped me a lot. But I have another trouble. I have an XtraGrid with data. Two columns configured to show checked list box for filtering. For example one column for States and other for Cities. This listboxes contains column data, so user can check multiple values and grid will ilter up its view. But when you choose filter in first column (for example one State) and then open second column filter its listbox contains all data (with all available Cities, but not the Cities from filtered State) from grid but not from currently filtered view.

Is there any method to update filter checkedlistbox to show only currenlty visible values for column?


You can achieve such functionality by setting ShowAllTableValuesInCheckedFilterPopup to false. More on the subject here: https://documentation.devexpress.com/#windowsforms/DevExpressXtraGridViewsBaseColumnViewOptionsFilter_ShowAllTableValuesInCheckedFilterPopuptopic

在哪里可以找到选项

链接地址: http://www.djcxy.com/p/31052.html

上一篇: AG Grid,使用树格式化数据并通过非叶节点进行过滤

下一篇: WinForms XtraGrid列过滤器检查列表框实际数据