diff --git a/README.md b/README.md index 43441810..5c8e56d2 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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.