Skip to content

Commit 46b3bbf

Browse files
896213: Documentation of Cells Topic
1 parent 550afb0 commit 46b3bbf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ej2-asp-core-mvc/grid/EJ2_ASP.MVC/cell.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The following example demonstrates how to set the `AllowTextWrap` property to **
7676

7777
> * If a column width is not specified, then the Autowrap of columns will be adjusted with respect to the grid's width.
7878
> * If a column's header text contains no white space, the text may not be wrapped.
79-
> * If the content of a cell contains HTML tags, the Autowrap functionality may not work as expected. In such cases, you can use the `headerTemplate` and `template` properties of the column to customize the appearance of the header and cell content.
79+
> * If the content of a cell contains HTML tags, the Autowrap functionality may not work as expected. In such cases, you can use the `HeaderTemplate` and `Template` properties of the column to customize the appearance of the header and cell content.
8080
8181
## Customize cell styles
8282

@@ -136,7 +136,7 @@ To customize the style of grid cells, define `CustomAttributes` property to the
136136
color:navy
137137
}
138138
```
139-
Here, setting the `customAttributes` property of the **ShipCity** column to an object that contains the CSS class **'custom-css'**. This CSS class will be applied to all the cells in the **ShipCity** column of the grid.
139+
Here, setting the `CustomAttributes` property of the **ShipCity** column to an object that contains the CSS class **'custom-css'**. This CSS class will be applied to all the cells in the **ShipCity** column of the grid.
140140

141141
```js
142142
col.Field("ShipCity").HeaderText("Ship City").Width("120").TextAlign(Syncfusion.EJ2.Grids.TextAlign.Right).CustomAttributes(new { @class = "custom-css" }).Add();
@@ -214,7 +214,7 @@ The Syncfusion Grid allows you to display information about the grid columns to
214214

215215
The Grid control allows rendering Bootstrap tooltips in the cells. To enable this feature, you need to add the Bootstrap CDN link and call the tooltip() method to initialize the tooltip.
216216

217-
This is demonstrated in the sample code below which shows how to enable Bootstrap tooltip for the **CustomerID** field using `template` property in grid cells,
217+
This is demonstrated in the sample code below which shows how to enable Bootstrap tooltip for the **CustomerID** field using `Template` property in grid cells,
218218

219219
Step 1: Add the CDN link of Boostrap in the `_Layout.cshtml` file. Place the `link` tag in the `head` for the CSS.
220220

@@ -226,7 +226,7 @@ Step 1: Add the CDN link of Boostrap in the `_Layout.cshtml` file. Place the `li
226226

227227
```
228228

229-
Step 2: The following code demonstrates how to render Bootstrap tooltip for the **CustomerID** field with `template` on grid cells.
229+
Step 2: The following code demonstrates how to render Bootstrap tooltip for the **CustomerID** field with `Template` on grid cells.
230230

231231
{% tabs %}
232232
{% highlight cshtml tabtitle="CSHTML" %}

ej2-asp-core-mvc/grid/EJ2_ASP.NETCORE/cell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ To customize the style of grid cells, define `customAttributes` property to the
139139
Here, setting the `customAttributes` property of the **ShipCity** column to an object that contains the CSS class **'custom-css'**. This CSS class will be applied to all the cells in the **ShipCity** column of the grid.
140140

141141
```html
142-
<e-grid-column field="ShipCity" headerText="Ship City" width="100" CustomAttributes=@(new{@class="custom-css"
142+
<e-grid-column field="ShipCity" headerText="Ship City" width="100" customAttributes=@(new{@class="custom-css"
143143
})></e-grid-column>
144144
```
145145
The following example demonstrates how to customize the appearance of the **OrderID** and **ShipCity** columns using custom attributes.

0 commit comments

Comments
 (0)