I need to be able to filter the treepicker based on contenttype. After checking source code: github dialogService, it appears contentpicker is just calling treepicker treepicker controller, wish have a "filter" property/function. After some trials, it worked out, i could limit selection on "specific" doc type by specifying the filter option, however, it appears the treepicker doesn't provide a "ui" feedback for the filter option; the filtered items aren't grayed out. Am i missing something here ?
dialogService.contentPicker with filter option
I need to be able to filter the treepicker based on contenttype. After checking source code: github dialogService, it appears contentpicker is just calling treepicker treepicker controller, wish have a "filter" property/function. After some trials, it worked out, i could limit selection on "specific" doc type by specifying the filter option, however, it appears the treepicker doesn't provide a "ui" feedback for the filter option; the filtered items aren't grayed out. Am i missing something here ?
Passing
filterCssClass: "not-allowed not-published"
will provide the behavior requested.is working on a reply...