This article provides a step-by-step guide to run the Syncfusion FileManager code component in local (TestHarness).
Before getting started with the Schedule code component, ensure the following prerequisites are satisfied:
- node.js (>= v18.20.4) (LTS version is recommended)
- System requirements for Syncfusion React components
To run the Syncfusion FileManager code component, follow these steps:
-
Ensure that all the prerequisites are met.
-
Open a command prompt (cmd) and navigate to the FileManager code component, which is located in the components/filemanager/ folder.
-
Utilize the following command to install the dependent packages:
npm install
- Execute the sample with the following command to visualize the FileManager code component:
npm start watch
- Now, within the
Data Inputs
section of the property pane, designate the data source for the FileManager code component using the fileSystemData.csv.
Note
After loading the data source, proceed to select the required column types of DataSource section in the property pane. For example, assign the Whole.None
column type for the TaskID
column of DataSource property.
- After loading the CSV file, click the
Apply
button to load the fileSystemData in the FileManager code component. Optionally, we can initialize FileManager config property data from the FileManagerConfig.json file.
- Customize the FileManager code component properties in the right property pane.
Note
Additionally, explore the API documentation for comprehensive details on the properties, methods, and events of the FileManager code component.