Skip to content

Commit 831fce2

Browse files
committed
Update README.md
1 parent 14e2dd0 commit 831fce2

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

projects/angular-open-datagrid/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,17 @@ and include css in src/styles.scss
3939
### Events
4040
> **dataChanged [function]**
4141
>> Get data change event with parameters.
42+
>>
43+
>> **_HTML_**
4244
>> ```html
4345
>> <data-grid [pagination]="pagination" [theme]="theme"
4446
>> [columnDefs]="columnDefs" [rowData]="rowData" (dataChanged)="valueChanged($event)" ></data-grid>
4547
>> ```
48+
>> **_JavaScript_**
4649
>> ```javascript
4750
>> valueChanged (valueChanged){
48-
console.log("Row: ",valueChanged.row,"Column: ",valueChanged.column, "Data: ",,valueChanged.data );
49-
}
51+
>> console.log("Row: ",valueChanged.row,"Column: ",valueChanged.column, "Data: ",,valueChanged.data );
52+
>> }
5053
>> ```
5154
### Themes
5255
* **theme [string]:** Themebased table. The available themes are as follows

projects/angular-open-datagrid/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-open-datagrid",
3-
"version": "1.2.7",
3+
"version": "1.2.8",
44
"license": "(MIT)",
55
"homepage": "https://github.com/sowvikr/angular-open-datagrid-lilb",
66
"bugs": {

0 commit comments

Comments
 (0)