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: components/grid/events.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ Read more about them and find code examples in the [Grid Export Events]({%slug g
79
79
>caption The different use-cases of the OnModelInit event
80
80
81
81
<divclass="skip-repl"></div>
82
-
````NoParameterlessConstructor
82
+
````RAZORNoParameterlessConstructor
83
83
@* Bind the Grid to a class without a parameterless constructor *@
84
84
85
85
<TelerikGrid Data="@SampleGridData"
@@ -210,7 +210,7 @@ Read more about them and find code examples in the [Grid Export Events]({%slug g
210
210
}
211
211
}
212
212
````
213
-
````Interface
213
+
````RAZORInterface
214
214
@* Bind the Grid to an interface *@
215
215
216
216
<TelerikGrid Data="@SampleGridData"
@@ -347,7 +347,7 @@ Read more about them and find code examples in the [Grid Export Events]({%slug g
347
347
}
348
348
}
349
349
````
350
-
````AbstractClass
350
+
````RAZORAbstractClass
351
351
@* Bind the Grid to an abstract class *@
352
352
353
353
<TelerikGrid Data="@SampleGridData"
@@ -493,7 +493,7 @@ The `OnRowClick` event handler receives a `GridRowClickEventArgs` argument, whic
493
493
494
494
>caption Use the OnRowClick event to load data on demand based on the clicked row
495
495
496
-
````CSHTML
496
+
````RAZOR
497
497
@* Use the OnRowClick event to load data on demand based on the clicked row *@
498
498
499
499
There is a deliberate delay in the data loading to showcase the async nature of the event
@@ -593,7 +593,7 @@ The `OnRowDoubleClick` event handler receives a `GridRowClickEventArgs` argument
593
593
594
594
>caption Use the OnRowDoubleClick event to receive information on the clicked row
595
595
596
-
````CSHTML
596
+
````RAZOR
597
597
@* Use the OnRowDoubleClick event to receive information on the row the user clicked on *@
598
598
599
599
<TelerikGrid Data="@MyData"
@@ -656,7 +656,7 @@ The `OnRowContextMenu` event handler receives a `GridRowClickEventArgs` argument
656
656
657
657
>caption Use the Grid OnRowContextMenu event and get the data model
658
658
659
-
````CSHTML
659
+
````RAZOR
660
660
@* Get the row model from a context menu action (right click/long tap) *@
661
661
662
662
<TelerikGrid Data="@MyData"
@@ -715,7 +715,7 @@ The event handler receives a `GridRowExpandEventArgs` object which provides the
715
715
716
716
>caption Use the OnRowExpand event to load detailed data on demand. Another approach can be found on our [public github repository](https://github.com/telerik/blazor-ui/tree/master/grid/load-on-demand-hierarchy).
717
717
718
-
````CSHTML
718
+
````RAZOR
719
719
@* Load data on demand for the expanded detail row. *@
720
720
721
721
<TelerikGrid Data="salesTeamMembers"
@@ -805,7 +805,7 @@ The event handler receives a `GridRowCollapseEventArgs` object which provides th
805
805
806
806
>caption Use the OnRowCollapse event to get the Id of the collapsed row from the data model
807
807
808
-
````CSHTML
808
+
````RAZOR
809
809
@* Get the Id of the collapsed row *@
810
810
811
811
<TelerikGrid Data="salesTeamMembers"
@@ -890,7 +890,7 @@ This event fires when each Grid row renders. This can happen in the following ca
890
890
891
891
>caption Use the OnRowRender event to apply custom styles to Grid rows based on certain condition
892
892
893
-
````CSHTML
893
+
````RAZOR
894
894
@* Conditional styling/formatting for rows (including locked/frozen columns). *@
895
895
896
896
<style>
@@ -966,7 +966,7 @@ The event fires when the user pages the grid.
966
966
967
967
>caption Handle the PageChanged event to know when the user changes the page
0 commit comments