Skip to content

Commit 49a9ae5

Browse files
docs(grid): info for scrolling; expose editing better
1 parent 44b6a6b commit 49a9ae5

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

components/grid/overview.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ The grid is a generic component, and to store a reference, you must use the mode
100100

101101
To show data in a grid, you need to define [GridColumn]({%slug components/grid/columns/bound%}) instances that expose the data fields as well as settings for [templates]({%slug components/grid/features/templates%}), [grouping](#grouping) and [reordering]({%slug components/grid/columns/reorder%}). To [edit](#editing) data or invoke custom logic, you define a [CommandColumn]({%slug components/grid/columns/command%}).
102102

103+
## Editing
104+
105+
The grid can perfom CRUD operations on its current data collection and exposes events that let you control the operations and transfer changes to the actual data source. The [CRUD Operations Overview]({%slug components/grid/editing/overview%}) article offers more details on this.
106+
107+
The grid offers several editing modes with different user experience through the `EditMode` property that is a member of the `GridEditMode` enum:
108+
109+
* `Incell` - editing is done [in the current cell]({%slug components/grid/editing/incell%}) with a double click
110+
* `Inline` - editing is done for the [entire row]({%slug components/grid/editing/inline%}) with an [Edit Command Button]({%slug components/grid/columns/command%})
111+
* `Popup` - editing is done in a [popup]({%slug components/grid/editing/popup%}) for the entire row with an [Edit Command Button]({%slug components/grid/columns/command%})
112+
103113

104114
## Paging
105115

@@ -125,15 +135,14 @@ The grid offers single or multiple selection modes. You can read more about this
125135

126136
You can define user actions in a [dedicated toolbar]({%slug components/grid/features/toolbar%}). For the moment, they are mostly custom actions, but in future versions you will be able to add features like exporting there.
127137

128-
## Editing
138+
## Scrolling
129139

130-
The grid can perfom CRUD operations on its current data collection and exposes events that let you control the operations and transfer changes to the actual data source. The [CRUD Operations Overview]({%slug components/grid/editing/overview%}) article offers more details on this.
140+
The grid offers two modes of scrolling through its `ScrollMode` parameter that takes a member of the `Telerik.Blazor.GridScrollMode` enum:
141+
142+
* `Scrollable` - the default setting - the scrollbars are controlled by the grid's `Width` and `Height` parameters and the data shown in it. If the rendered rows are taller than the height, there will be a vertical scrollbar. If the sum of the column widths is larger than the width, there will be a horizontal scrollbar (read more in the [Column Width]({%slug grid-columns-width%}) article).
143+
* `Virtual` - this enables [Virtual Scrolling]({%slug components/grid/virtual-scrolling%}).
131144

132-
The grid offers several editing modes with different user experience through the `EditMode` property that is a member of the `GridEditMode` enum:
133145

134-
* `Incell` - editing is done [in the current cell]({%slug components/grid/editing/incell%}) with a double click
135-
* `Inline` - editing is done for the [entire row]({%slug components/grid/editing/inline%}) with an [Edit Command Button]({%slug components/grid/columns/command%})
136-
* `Popup` - editing is done in a [popup]({%slug components/grid/editing/popup%}) for the entire row with an [Edit Command Button]({%slug components/grid/columns/command%})
137146

138147
## Styling
139148

0 commit comments

Comments
 (0)