On this page
@addTagHelper *, Webority.Ui.RazorOn a list page
Put the Views menu above a list's filters, so a saved view opens the same address again.
Orders with a status filter
Kept on the server
Use mode="server" when people should find their saved views from any browser, because the product stores the views itself. A manager can also share a view with the team.
Views kept on the server
Every option
Every value of every prop, one cell each.
key
key="orders": the name its views are stored undermode
mode="browser" (default): views kept in this browsermode="server": views kept on the server through actionaction
action: the page handler that answers the menu, with mode="server"can-share
can-share="false" (default): no share switch in the save formcan-share="true": server mode only, adds a Share with the team switch to the save formReference
Try every prop, read the full list, and check keyboard and screen reader behaviour.
4 props.
Less common 4 props
| Prop | Type | Default | Description |
|---|---|---|---|
| keydefault - | string | - | The name the views of a list are stored under (browser mode) or asked for (server mode). Required; an empty key throws. |
| modedefault browser | string | browser | browser keeps the views in this browser; server keeps them through action. |
| actiondefault - | string | - | The page handler that answers the Views requests. Required with mode=server, refused otherwise. |
| can-sharedefault false | bool | false | Server mode only. Shows a Share with the team switch in the save form and sends shared with the save. Pass the page's own answer to may this person share views, and pass the same answer to SavedViewsAsync as canShare: a share from a page that says no is refused. Refused with mode=browser. |