Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After

/**
* Selects a button by its index.
* @memberOf {@link IgxButtonGroupComponent}
*```typescript
*@ViewChild("MyChild")
*private buttonG: IgxButtonGroupComponent;
Expand All @@ -289,6 +288,7 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After
* this.cdr.detectChanges();
*}
*```
* @memberOf {@link IgxButtonGroupComponent}
*/
public selectButton(index: number) {
if (index >= this.buttons.length || index < 0) {
Expand Down Expand Up @@ -327,7 +327,6 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After

/**
* Deselects a button by its index.
* @memberOf {@link IgxButtonGroupComponent}
* ```typescript
*@ViewChild("MyChild")
*private buttonG: IgxButtonGroupComponent;
Expand All @@ -336,6 +335,7 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After
* this.cdr.detectChanges();
*}
* ```
* @memberOf {@link IgxButtonGroupComponent}
*/
public deselectButton(index: number) {
if (index >= this.buttons.length || index < 0) {
Expand Down
8 changes: 2 additions & 6 deletions projects/igniteui-angular/src/lib/grids/column.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy {
/**
* Gets the column `sortStrategy`.
* ```typescript
* let sortStrategy = this.column.sortStrategy'
* let sortStrategy = this.column.sortStrategy
* ```
* @memberof IgxColumnComponent
*/
Expand All @@ -627,10 +627,7 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy {
* Sets the column `sortStrategy`.
* ```typescript
* this.column.sortStrategy = new CustomSortingStrategy().
*
* class CustomSortingStrategy extends SortingStrategy {
* ...
* }
* class CustomSortingStrategy extends SortingStrategy {...}
* ```
* @memberof IgxColumnComponent
*/
Expand Down Expand Up @@ -1544,7 +1541,6 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy {
* Autosize the column to the longest currently visible cell value, including the header cell.
* ```typescript
* @ViewChild('grid') grid: IgxGridComponent;
*
* let column = this.grid.columnList.filter(c => c.field === 'ID')[0];
* column.autosize();
* ```
Expand Down
11 changes: 8 additions & 3 deletions projects/igniteui-angular/src/lib/grids/grid-base.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,10 +525,14 @@ export abstract class IgxGridBaseComponent extends DisplayDensityBase implements

/**
* Sets the current page index.
* ```html
* <igx-grid #grid [data]="Data" [paging]="true" [page]="5" [autoGenerate]="true"></igx-grid>
*
*```
* Two-way data binding.
* ```html
* <igx-grid #grid [data]="Data" [paging]="true" [(page)]="model.page" [autoGenerate]="true"></igx-grid>
* ```
* @memberof IgxGridBaseComponent
*/
set page(val: number) {
if (val === this._page || val < 0 || val > this.totalPages - 1) {
Expand Down Expand Up @@ -2252,7 +2256,8 @@ export abstract class IgxGridBaseComponent extends DisplayDensityBase implements
* for the built-in column hiding UI of the`IgxColumnComponent`.
* ```typescript
* const hiddenColText = this.grid.hiddenColumnsText;
* ``
* ```
* @memberof IgxGridBaseComponent
*/
@WatchChanges()
@Input()
Expand Down Expand Up @@ -4138,7 +4143,7 @@ export abstract class IgxGridBaseComponent extends DisplayDensityBase implements
* Returns how many times the grid contains the string.
* ```typescript
* this.grid.findPrev("financial");
* ````
* ```
* @param text the string to search.
* @param caseSensitive optionally, if the search should be case sensitive (defaults to false).
* @param exactMatch optionally, if the text should match the entire value (defaults to false).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ export class IgxGridComponent extends IgxGridBaseComponent implements IGridDataB
* <igx-grid [dropAreaTemplate]="dropAreaRef">
* <igx-column [groupable]="true" field="ID"></igx-column>
* </igx-grid>
*
* <ng-template #myDropArea>
* <span> Custom drop area! </span>
* </ng-template>
Expand Down