ListGridField, DatataSource and Filters

I have to narrow the list of values in a filter editor to a subset of the data in the DataSource and for my case it would not be possible using filterEditorProperties/getPickListFilterCriteria:


	{
		name:"status",
		canEdit:false,
		canFilter:true,

		optionDataSource:CommonTypeCLT,
		displayField:"shortDesc",
		valueField:"uniqKey",

		filterEditorProperties: {
			getPickListFilterCriteria: function () {
				...
			}
		}
	}

What other options do I have?

It’s hard to recommend anything without understanding why getPickListFilterCriteria() doesn’t work for your use case.

You can always use DataSource APIs like fetchData() to manually fetch data and derive valueMaps from those (see the docs for DataSource.fetchData()).