Skip to content

Commit

Permalink
v20.2.43 is released
Browse files Browse the repository at this point in the history
  • Loading branch information
pipeline committed Aug 8, 2022
1 parent 7e256b1 commit 6a77b4c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ Add your sample order in the `src/common/sampleOrder.json` with corresponding ca

Note: Do not use whitespace at any cause in folder’s name. Use “-” instead of space.

[Refer here](https://bitbucket.org/syncfusion/ej2-sample-browser/src/7740ab838973c7ebb3e970acb5246ff4c89ccd67/src/?at=master)
[Refer here](https://github.com/syncfusion/ej2-samples/tree/master/src)

### Configure the folder and sample

Create the “sample.json” file inside of your control folder. Create your sample html and ts file in same folder also name the html and ts files with same name.

Note: Do not use whitespace at any cause in file’s name. Use “-” instead of space.

[Refer here](https://bitbucket.org/syncfusion/ej2-sample-browser/src/7740ab838973c7ebb3e970acb5246ff4c89ccd67/src/button/?at=master)
[Refer here](https://github.com/syncfusion/ej2-samples/tree/master/src/button)

### Configure Sample JSON

Expand Down Expand Up @@ -230,15 +230,15 @@ Note: Here, The mentioned IP is your local machine IP Address.

1. In import statements in html file for a sample the package subdirectory shouldn’t be mentioned. Please refer the link given below.

https://gitlab.syncfusion.com/essential-studio/ej2-samples/blob/development/src/grid/events.ts#L3
https://github.com/syncfusion/ej2-samples/blob/master/src/grid/events.ts#L3

2. In Base component dom and util are not available in the customer end. So, please don’t use the same. Please refer the link below.

https://gitlab.syncfusion.com/essential-studio/ej2-samples/blob/development/src/grid/events.ts#L3
https://github.com/syncfusion/ej2-samples/blob/master/src/grid/events.ts#L3

3. To add any icon in the samples use base64 font and don’t use any font files like ttf, woff, or svg externally. Please refer the link given below.

https://gitlab.syncfusion.com/essential-studio/ej2-samples/blob/development/src/toolbar/default.html#L5
https://github.com/syncfusion/ej2-samples/blob/master/src/toolbar/default.ts#L13

For example:
```
Expand All @@ -262,10 +262,10 @@ Note: Here, The mentioned IP is your local machine IP Address.

4. For loading json files in the sample use import statements instead of require. Please refer the link given below.

https://gitlab.syncfusion.com/essential-studio/ej2-samples/blob/development/src/calendar/internationalization.ts#L9
https://github.com/syncfusion/ej2-samples/blob/master/src/auto-complete/custom-filtering.ts#L7

( For example: import * as testJson from '../common/cldr-data/supplemental/numberingSystems.json'; )

5. If a New Component is added to TypeScript Sample Browser it’s package dependency should be added to the config in src/sys.js file.

( For example: https://gitlab.syncfusion.com/essential-studio/ej2-samples/blob/development/src/sys.js#L19 )
( For example: https://github.com/syncfusion/ej2-samples/blob/master/src/sys.js#L19 )
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@syncfusion/ej2-samples",
"version": "20.2.36",
"version": "20.2.43",
"description": "Samples for Syncfusion Essential JS 2",
"author": "Syncfusion Inc.",
"license": "SEE LICENSE IN license",
Expand Down
6 changes: 3 additions & 3 deletions src/tree-grid/adaptive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ TreeGrid.Inject(Page, Filter, Sort, Edit, Toolbar);
editSettings: { allowAdding: true, allowEditing: true, allowDeleting: true, mode: 'Dialog' },
toolbar: ['Add', 'Edit', 'Delete', 'Update', 'Cancel', 'Search'],
columns: [
{ field: 'taskID', headerText: 'Task ID', isPrimaryKey: true, width: 135, textAlign: 'Right' },
{ field: 'taskName', headerText: 'Task Name', width: 280, textAlign: 'Left' },
{ field: 'duration', headerText: 'Duration', width: 140, textAlign: 'Right' },
{ field: 'taskID', headerText: 'Task ID', isPrimaryKey: true, validationRules: { required: true, number: true}, width: 135, textAlign: 'Right' },
{ field: 'taskName', headerText: 'Task Name',validationRules: { required: true}, width: 280, textAlign: 'Left' },
{ field: 'duration', headerText: 'Duration',validationRules: {required: true}, width: 140, textAlign: 'Right' },
{ field: 'progress', headerText: 'Progress', width: 145, textAlign: 'Right' }
],
});
Expand Down

0 comments on commit 6a77b4c

Please sign in to comment.