Skip to content

Commit b741cde

Browse files
committed
Update version and UPDATE published README.md
1 parent 1bb0275 commit b741cde

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

projects/angular-open-datagrid/README.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,32 +35,32 @@ and include css in src/styles.scss
3535
## Table Options
3636
### New Options Introduced
3737
![Preview](https://raw.githubusercontent.com/sowvikr/angular-open-datagrid-lib/master/NewOptions.png)
38+
* **Common Search:** Enable common search for the table
39+
* **Cache Search:** Cache the search for the table
3840
### Pagination
3941
* **pagination [boolean]:** Enable pagination for the table.
40-
* **pageSize [number]:** Enable pagination for the table.
42+
* **pageSize [number]:** Page size for the table. If pagination enabled the page size is the rows in each page.
4143
### Events
42-
> **dataChanged [function]**
43-
>> Get data change event with parameters.
44-
>>
45-
>> **_HTML_**
46-
>> ```html
47-
>> <data-grid [pagination]="pagination" [theme]="theme"
48-
>> [columnDefs]="columnDefs" [rowData]="rowData" (dataChanged)="valueChanged($event)" ></data-grid>
49-
>> ```
50-
>> **_JavaScript_**
51-
>> ```javascript
52-
>> valueChanged (valueChanged){
53-
>> console.log("Row: ",valueChanged.row,"Column: ",valueChanged.column, "Data: ",,valueChanged.data );
54-
>> }
55-
>> ```
44+
#### dataChanged [event]
45+
Get data change event with parameters.
46+
47+
**_HTML_**
48+
```html
49+
<data-grid [pagination]="pagination" [theme]="theme"
50+
[columnDefs]="columnDefs" [rowData]="rowData" (dataChanged)="valueChanged($event)" ></data-grid>
51+
```
52+
**_JavaScript_**
53+
```javascript
54+
valueChanged (valueChanged){
55+
console.log("Row: ",valueChanged.row,"Column: ",valueChanged.column, "Data: ",,valueChanged.data );
56+
}
57+
```
5658
### Themes
5759
* **theme [string]:** Themebased table. The available themes are as follows
5860
1. Matrial Theme (metrial-theme)
5961
2. Dark Theme (dark-theme)
6062
3. Standard Theme (standard-theme)
6163
4. Red Theme (red-theme)
62-
### Search
63-
* **commonSearch [boolean]:** Enable common search for the table.
6464
### Column Definitions
6565
#### Mandatory Options
6666
* **headerName [string]:** Header name of the particular column
@@ -129,5 +129,4 @@ rowData: [
129129
2. Unzip and open CMD and type npm start.
130130

131131
# Future Timeline
132-
1. Ability to render remote data.
133132
2. Make more fast and smooth.

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.3.0",
3+
"version": "1.3.1",
44
"license": "(MIT)",
55
"homepage": "https://github.com/sowvikr/angular-open-datagrid-lilb",
66
"bugs": {

0 commit comments

Comments
 (0)