Skip to content

Commit 60dda0e

Browse files
author
skozlov
committed
Readme file was updated (urlSync)
1 parent 6b0ee7d commit 60dda0e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Demo Angular UI Router: http://angular-data-grid.github.io/demo/bootstrap/ui-rou
1414
### Features
1515
- Does not have any hard-coded template so you can choose any mark-up you need, from basic `<table>` layout to any `<div>` structure.
1616
- Easily switch between the most popular Bootstrap and Google Material theming, or apply your own CSS theme just by changing several CSS classes.
17-
- Built-in sync with browser address bar (URL), so you can copy-n-paste sorting/filtering/pagination results URL and open it in other browser / send to anyone - even if pagination / filtering are done on a client-side.
17+
- Built-in sync with browser address bar (URL), so you can copy-n-paste sorting/filtering/pagination results URL and open it in other browser / send to anyone - even if pagination / filtering are done on a client-side. [See details](#url-synchronization)
1818
- Support of [Angular UI Router](https://github.com/angular-ui/ui-router) navigation.
1919
- Unlike most part of other Angular DataGrids, we intentionally use non-isolated scope of the directive to maximize flexibility, so it can be easily synchronized with any data changes inside your controller.
2020
NOTE! With great power comes great responsibility, so use non-isolated API wisely.
@@ -235,9 +235,12 @@ Then create in `gridOptions.customFilters` variable named as `ng-model` with fil
235235

236236
```
237237
238-
### Others
239-
All filters have optional parameter `disable-url`. If you set it to **true**, URL-synchronization for this filter will be disabled.
238+
### Url Synchronization
239+
You can disable/enable URL-synchronization for whole grid. Just set `gridOptions.urlSync` to **false**/**true**
240+
All filters have optional parameter `disable-url`. If you set it to **true**, URL-synchronization for this filter will be disabled.
241+
240242
243+
### Others
241244
If you need to use 2 or more grids on page, please add `id` to grids, and then use `grid-id` attribute on filters to specify their corresponding grid. [Example](http://angular-data-grid.github.io/demo/bootstrap/multiple.html)
242245
243246
### Next / Future

0 commit comments

Comments
 (0)