Skip to content

Commit 119aebc

Browse files
committed
Update README.md and icons
1 parent 436a6e1 commit 119aebc

File tree

6 files changed

+22
-17
lines changed

6 files changed

+22
-17
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AngularOpenDatagrid
22
### Demo
3-
![Preview](/AngularOpenDatagridLib.gif)
3+
![Preview](https://raw.githubusercontent.com/sowvikr/angular-open-datagrid-lib/master/AngularOpenDatagridLib.gif)
44
### Install
55
```npm install angular-open-datagrid --save```
66
### Usage
@@ -106,8 +106,7 @@ rowData: [
106106
5. Edit Cell
107107
6. Copy paste like Microsoft Excel.
108108
7. Export the data as CSV.
109-
# Preview
110-
![Preview](/Datatable.png)
109+
111110
# Demo
112111
1. Download the zip.
113112
2. Unzip and open CMD and type npm start.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve -o --port 4211",
7-
"build": "ng build",
7+
"build": "ng build angular-open-datagrid",
88
"test": "ng test",
99
"lint": "ng lint",
1010
"e2e": "ng e2e"
@@ -31,8 +31,8 @@
3131
"devDependencies": {
3232
"@angular-devkit/build-angular": "~0.13.0",
3333
"@angular-devkit/build-ng-packagr": "~0.13.0",
34-
"@angular/cli": "~7.3.6",
35-
"@angular/compiler-cli": "~7.2.0",
34+
"@angular/cli": "~8.0.1",
35+
"@angular/compiler-cli": "~7.2.13",
3636
"@angular/language-service": "~7.2.0",
3737
"@types/node": "~8.9.4",
3838
"@types/jasmine": "~2.8.8",

projects/angular-open-datagrid/README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AngularOpenDatagrid
2-
2+
### Demo
3+
![Preview](https://raw.githubusercontent.com/sowvikr/angular-open-datagrid-lib/master/AngularOpenDatagridLib.gif)
34
### Install
45
```npm install angular-open-datagrid --save```
56
### Usage
@@ -34,14 +35,15 @@ and include css in src/styles.scss
3435
## Table Options
3536
### Pagination
3637
* **pagination [boolean]:** Enable pagination for the table.
37-
* **pageSize [boolean]:** Enable pagination for the table.
38+
* **pageSize [number]:** Enable pagination for the table.
3839
### Themes
3940
* **theme [string]:** Themebased table. The available themes are as follows
4041
1. Matrial Theme (metrial-theme)
4142
2. Dark Theme (dark-theme)
4243
3. Standard Theme (standard-theme)
4344
4. Red Theme (red-theme)
44-
45+
### Search
46+
* **commonSearch [boolean]:** Enable common search for the table.
4547
### Column Definitions
4648
#### Mandatory Options
4749
* **headerName [string]:** Header name of the particular column
@@ -103,8 +105,12 @@ rowData: [
103105
4. Nice animation for visualization.
104106
5. Edit Cell
105107
6. Copy paste like Microsoft Excel.
106-
# Preview
107-
![Preview](/Datatable.png)
108+
7. Export the data as CSV.
109+
110+
# Demo
111+
1. Download the zip.
112+
2. Unzip and open CMD and type npm start.
113+
108114
# Future Timeline
109115
1. Ability to render remote data.
110116
2. Make more fast and smooth.

src/app/pages/dark-theme/dark-theme.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ export class DarkThemeComponent implements OnInit {
110110
cellRender: (row, column, data, def) => {
111111
let icon = 'check';
112112
if (!data) {
113-
icon = 'x';
113+
icon = 'times';
114114
}
115-
return '<i class="feather icon-' + icon +
115+
return '<i class="fa fa-' + icon +
116116
'"></i>';
117117
}
118118
},

src/app/pages/material-theme/material-theme.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ export class MaterialThemeComponent implements OnInit {
110110
cellRender: (row, column, data, def) => {
111111
let icon = 'check';
112112
if (!data) {
113-
icon = 'x';
113+
icon = 'times';
114114
}
115-
return '<i class="feather icon-' + icon +
115+
return '<i class="fa icon-' + icon +
116116
'"></i>';
117117
}
118118
},

src/app/pages/red-theme/red-theme.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export class RedThemeComponent implements OnInit {
3030
cellRender: (row, column, data, def) => {
3131
let icon = 'check';
3232
if (!data) {
33-
icon = 'x';
33+
icon = 'times';
3434
}
35-
return '<i class="feather icon-' + icon +
35+
return '<i class="fa icon-' + icon +
3636
'"></i>';
3737
}
3838
},

0 commit comments

Comments
 (0)