Skip to main content

multiselect

Description

Optional. Enables selecting multiple rows using SHIFT or CTRL 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 "@wx/svelte-grid";
import { getData } from "./common/data";
const { columns, data } = getData();

</script>

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