Skip to content

Commit d2bdad5

Browse files
committed
Add section about igDataSource into the README
1 parent 68947a3 commit d2bdad5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,18 @@ The following controls currently support two-way data binding:
419419
5. igEditors
420420
6. igTree
421421

422+
## Use igDataSource inside Angular app
423+
424+
Thanks to the @types/ignite-ui, it is possible to create an instace of the all of the Ignite UI data sources.
425+
426+
let source = new Infragistics.DataSource(settings);
427+
428+
This data source instance is granted with intellisense about igDataSource methods.
429+
430+
source.dataBind();
431+
432+
Review the following [demo](http://igniteui.github.io/igniteui-angular2/samples/igDataSource/igDataSource.html) for more information.
433+
422434
## Running tests
423435

424436
The command for running the tests is:

0 commit comments

Comments
 (0)