Skip to content

Commit 322e77e

Browse files
authored
Update grid-hide-vertical-scrollbar.md (#3595)
1 parent 04c6d00 commit 322e77e

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

knowledge-base/grid-hide-vertical-scrollbar.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ There are three required CSS styles to disable vertical scrolling and ensure pro
4646
4747
<TelerikGrid Data="@GridData" Class="grid-no-scroll">
4848
<GridColumns>
49-
<GridColumn Field=@nameof(Product.Name) Title="Product Name">
49+
<GridColumn Field="@nameof(Product.Id)" />
50+
<GridColumn Field="@nameof(Product.Name)">
5051
<FooterTemplate>
51-
footer
52+
Name Footer
5253
</FooterTemplate>
5354
</GridColumn>
5455
</GridColumns>
@@ -83,7 +84,7 @@ There are three required CSS styles to disable vertical scrolling and ensure pro
8384
GridData.Add(new Product()
8485
{
8586
ID = i,
86-
Name = "Product " + i.ToString()
87+
Name = $"Product {i}"
8788
});
8889
}
8990
}
@@ -94,4 +95,4 @@ There are three required CSS styles to disable vertical scrolling and ensure pro
9495
public string Name { get; set; }
9596
}
9697
}
97-
````
98+
````

0 commit comments

Comments
 (0)