Hi Glen Elkins,
Greetings from Syncfusion support.
Hide the SearchBox:
We suspect that your requirement is to hide the search box in FileManager component. You can hide the searchbox by using CSS styles.
Please, refer the below code snippet.
.e-filemanager .e-search-wrap {
display: none;
} |
Please, refer the sample link.
Disable the SearchBox:
You can disable the searchbox by using success event of FileManager component.
Please, refer the below code snippet.
<ejs-filemanager
id="overview"
[ajaxSettings]="ajaxSettings"
[view]="view"
(success)="success($event)"
>
</ejs-filemanager>
success() {
if (this.flag) {
(document.getElementsByClassName(
"e-control e-textbox"
)[0] as any).ej2_instances[0].enabled = false;
this.flag = false;
}
} |
Please, refer the sample link.
Please let us know, if you need any further assistance.
Regards,
Sowmiya.P