E
egarcia
Guest
Hello, The approach to apply the filter with a Blank View is similar as with a regular view. You would also add code to the .view.component.ts file. The logic in the constructor would use the name of your Data Source: this.$dataServicesState. .filter = ; The filter object is corresponds to a CompositeFilterDescriptor: - www.telerik.com/.../ For Data Sources in the View Data Sources, my convention is to add "DS" to the resource name. Example: export class CustomerViewViewComponent extends CustomerViewViewBaseComponent { constructor(@Inject(Injector) injector: Injector) { super(injector); this.$dataServicesState.CustomerDS.filter = { logic: 'and', filters: [{ field: 'CustNum', operator: 'lte', value: 20 }] }; } ... } I hope this helps.
Continue reading...
Continue reading...