Skip to content

Commit 6e6a006

Browse files
documentation(896909):Updated
1 parent bd1b5f4 commit 6e6a006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ej2-asp-core-mvc/grid/EJ2_ASP.MVC/columns/column-headers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ The Grid component provides several methods that allow you to change the column
195195

196196
6. `getColumnIndexByUid`: Retrieves the index of a column based on its unique identifier (UID). You can then use the `getColumnByIndex` method to retrieve the column object and modify its `HeaderText` property to change the header text.
197197

198-
7. `getColumnHeaderByUid`: Retrieves the header element of a column based on its unique identifier (UID). You can modify the **textContent** property of the header element to change the header text. This method does not return a reference to the column object itself, only to the header element.If you only have an `Template` for the column header, and the column itself is not defined with a `field` , then you can use the `getColumnHeaderByUid` method to get a reference to the header element and modify its text content to change the header text.
198+
7. `getColumnHeaderByUid`: Retrieves the header element of a column based on its unique identifier (UID). You can modify the **textContent** property of the header element to change the header text. This method does not return a reference to the column object itself, only to the header element.If you only have an `Template` for the column header, and the column itself is not defined with a `Field` , then you can use the `getColumnHeaderByUid` method to get a reference to the header element and modify its text content to change the header text.
199199

200200
>* When you change the header text dynamically, you need to **refresh** the Grid to reflect the changes by calling the `refreshHeader` method.
201201
>* The UID is automatically generated by the Grid component and may change whenever the grid is refreshed or updated.

0 commit comments

Comments
 (0)