Skip to main content

multiselect

Description​

Optional. Enables selecting multiple rows using Shift or Ctrl/Meta with the button click

Usage​

multiselect?: boolean;

Parameters​

If the multiselect value is set to true, rows multiselection is enabled; false is the default value, which means that it's possible to select only a single row by default.

Example​

<script>
import { Grid } from "@svar-ui/svelte-grid";
import { getData } from "./common/data";

const { columns, data } = getData();

</script>

<Grid
{data}
{columns}
multiselect={true} />

Related articles: