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/columns/stacked.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,17 +79,19 @@ The code snippet below uses 3 stacked columns. The first one is twice as wide as
79
79
80
80
## Integration with Other Features
81
81
82
-
When the Grid is in `Stacked` data layout mode, it does not render column headers. As a result, column features like sorting, filtering, grouping, locking are not available through the classic Grid UI. Instead, use [ToolBar command tools](slug:components/grid/features/toolbar#command-tools) to enable the same functionality through different UI.
82
+
In `Stacked` data layout modethe Grid rendering is different and some features use different UI and UX:
83
83
84
-
Hierarchy relies on an expand/collapse button, which is below the stacked table row content.
84
+
* The Grid does not render column headers. Column features like sorting, filtering, grouping, and locking require [ToolBar command tools](slug:components/grid/features/toolbar#command-tools).
85
+
* The Grid does not render a command column. Combine [Grid row selection](slug:grid-selection-row) with [Toolbar command tools for the **Delete**, **Edit**, **Save**, and **Cancel** buttons](slug:components/grid/features/toolbar#command-tools).
86
+
* Hierarchy relies on an expand/collapse button, which renders below the stacked table row content.
85
87
86
88
## Example
87
89
88
90
The following sample shows how to:
89
91
90
92
* Enable and disable column stacking, depending on the viewport width.
91
93
* Display 1 or 2 stacked columns, depending on the viewport width.
92
-
* Render ToolBar tools for column operations only when the Grid is in `Stacked` data layout mode.
94
+
* Render ToolBar tools for column and edit operations only when the Grid is in `Stacked` data layout mode.
93
95
94
96
>caption Using stacked data layout mode in the Blazor Grid
95
97
@@ -125,6 +127,9 @@ The following sample shows how to:
Copy file name to clipboardExpand all lines: components/grid/toolbar.md
+26-55Lines changed: 26 additions & 55 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,8 @@ The [Blazor Grid](https://demos.telerik.com/blazor-ui/grid/overview) provides se
36
36
| Sort |`GridToolBarSortTool`| A toggle button that opens a list of the sortable columns. Click a column to sort by it. On mobile devices, the popup renders as an `ActionSheet`. The tool also exposes an `Icon` parameter that allows you to override the default icon. |
37
37
| SearchBox |`GridToolBarSearchBoxTool`| A [searchbox that filters multiple string columns](slug:grid-searchbox) simultaneously. |
38
38
39
+
The **Edit** command button is disabled if there is no [selected Grid row](slug:grid-selection-row). The **Save** and **Cancel** buttons are disabled when there is no row in edit mode.
40
+
39
41
### Layout Tools
40
42
41
43
| Tool Name | Tool Tag | Description |
@@ -84,45 +86,16 @@ Add a `<GridToolBar>` tag inside `<TelerikGrid>` to configure a toolbar, for exa
0 commit comments