Skip to content

Broken links fix #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Configure your sample json file as like below code snippet.

* _category :_ Specify that your sample comes under which category.

* _dataSourcePath :_ Specify that your data source file Path (Optional).
* _dataSourcePath :_ Specify that your data source file path (optional).

* _samples :_ Specify array of samples in your control.

Expand All @@ -59,19 +59,19 @@ Configure your sample json file as like below code snippet.

To add datasource file for the component, you need to include the `dataSourcePath` option which need to map the datasource file path in the component's sample.json.

refer the below link for config
Refer to the below link for the configuration,

https://gitlab.syncfusion.com/essential-studio/ej2-javascript-samples/blob/7a32bea49aca215fdef1fe432e4135fa07ff3c83/src/grid/sample.json#L9
https://github.com/syncfusion/ej2-javascript-samples/blob/master/src/grid/sample.json#L7

The sample datasource file need to store the json in window variable.
The sample data source file need to store the json in window variable.

Each component's datasource window variable name must be unique.

For example datasource for grid must be stored as `window.gridData`.

Refer the below below datasource file for further reference
Refer the below datasource file for further reference

https://gitlab.syncfusion.com/essential-studio/ej2-javascript-samples/blob/19761f5590b4af5b2ea1cb90bed33d8dfa496de9/src/grid/datasource.js
https://github.com/syncfusion/ej2-javascript-samples/blob/master/src/grid/data-source.js

**Note:** Each component should include one datasource file only.

Expand Down