Tables and Grids
No edit summary
No edit summary
Line 20: Line 20:


=== See also: ===
=== See also: ===
[[Nesting.ClientSortable]]
[[Seeker view]]
[[Table Grid Column Style]]
[[Table Grid Column Style]]



Revision as of 07:06, 26 May 2023

A table is ...

A grid is ....

Click on Lists

Single-row handling

The default for lists is to show a pop-up menu or perform the default action if it’s the only one. Usually, this is for a “Show”-action navigating to the object clicked.

If you select “Always show actions” for a ViewModel class in the Designer (i.e. a list), it will be rendered in “select one” mode and with the actions for the current row in the left menu. Clicking on the list/row will NOT show the pop-up menu or perform the default action if it’s the only one.

If the list doesn’t have any actions “opted-in”, the list should also be rendered in ”select one” mode.

Multi-row handling

You can turn on multi-select for lists by adding the tag “MultiSelect” with the value True (no quotes) on the ViewModel class.

  1. Select the ViewModel class and click on “TV and Attributes”.
  2. Add the MultiSelect value to the Value Store.
  3. Add the Value Store value to the ViewModel.

This will make selecting and deselecting individual rows possible and update the vSelected variable.

You then make actions acting on the vSelected collection in the server action.

See also:

Nesting.ClientSortable

Seeker view

Table Grid Column Style

Edit in Grid

DataGrid filters

Nesting.IsSeekerResultGrid

This page was edited 54 days ago on 03/26/2024. What links here