You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ej2-angular/grid/columns/columns.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ In Syncfusion Angular Grid, Columns are fundamental elements that play a pivotal
14
14
15
15
## Column types
16
16
17
-
The Syncfusion Grid component allows you to specify the type of data that a column binds using the [columns.type](https://ej2.syncfusion.com/angular/documentation/api/grid/column/#type) property. The `type` property is used to determine the appropriate [format](https://ej2.syncfusion.com/angular/documentation/api/grid/column/#format), such as [number](../../common/internationalization/#number-formatting) or [date](../../common/internationalization/#manipulating-datetime), for displaying the column data.
17
+
The Syncfusion Grid component allows you to specify the type of data that a column binds using the [columns.type](https://ej2.syncfusion.com/angular/documentation/api/grid/column/#type) property. The `type` property is used to determine the appropriate [format](https://ej2.syncfusion.com/angular/documentation/api/grid/column/#format), such as [number](../../common/internationalization#number-formatting) or [date](../../common/internationalization#manipulating-datetime), for displaying the column data.
18
18
19
19
Grid supports the following column types:
20
20
@@ -597,7 +597,7 @@ let fieldNames = this.grid.getColumnFieldNames()
597
597
598
598
### Updating column definitions
599
599
600
-
You can update the column definitions in the Grid using the [columns](https://ej2.syncfusion.com/angular/documentation/api/grid/column) property. You can modify the properties of the column objects in the columns array to update the columns dynamically. For example, you can change the headerText, width, visible, and other properties of a column to update its appearance and behavior in the grid and then call the [refreshColumns](https://ej2.syncfusion.com/angular/documentation/api/grid/#refreshcolumns) method to apply the changes to the grid.
600
+
You can update the column definitions in the Grid using the [columns](https://ej2.syncfusion.com/angular/documentation/api/grid/column/) property. You can modify the properties of the column objects in the columns array to update the columns dynamically. For example, you can change the headerText, width, visible, and other properties of a column to update its appearance and behavior in the grid and then call the [refreshColumns](https://ej2.syncfusion.com/angular/documentation/api/grid/#refreshcolumns) method to apply the changes to the grid.
601
601
602
602
{% tabs %}
603
603
{% highlight ts tabtitle="app.component.ts" %}
@@ -613,7 +613,7 @@ You can update the column definitions in the Grid using the [columns](https://ej
613
613
614
614
### Adding/Removing Columns
615
615
616
-
The Grid component allows you to dynamically add or remove columns to and from the grid using the [columns](https://ej2.syncfusion.com/angular/documentation/api/grid/column) property, which can be accessed through the instance of the Grid.
616
+
The Grid component allows you to dynamically add or remove columns to and from the grid using the [columns](https://ej2.syncfusion.com/angular/documentation/api/grid/column/) property, which can be accessed through the instance of the Grid.
617
617
618
618
To add a new column to the Grid, you can directly **push** the new column object to the columns property.To remove a column from the Grid, you can use the **pop** method, which removes the last element from the columns array of the Grid. Alternatively, you can use the splice method to remove a specific column from the columns array.
Copy file name to clipboardExpand all lines: ej2-angular/grid/selection/selection.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -116,9 +116,9 @@ The following example demonstrates how to enable the toggle selection for both c
116
116
117
117
The clear selection programmatically feature is particularly useful when you need to remove the selected rows or cells or columns from the Grid component.
118
118
119
-
To clear the selection in the component programmatically, you can use the [clearSelection](https://ej2.syncfusion.com/angular/documentation/api-grid.html#clearSelection) method.
119
+
To clear the selection in the component programmatically, you can use the [clearSelection](https://ej2.syncfusion.com/angular/documentation/api/grid/selection/#clearselection) method.
120
120
121
-
In the following example, it demonstrates how to clear all selection by calling the [clearSelection](https://ej2.syncfusion.com/angular/documentation/api-grid.html#clearSelection) method in the button click event.
121
+
In the following example, it demonstrates how to clear all selection by calling the [clearSelection](https://ej2.syncfusion.com/angular/documentation/api/grid/selection/#clearselection) method in the button click event.
0 commit comments