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

import { Grid } from "wx-react-grid";
import { getData } from "./common/data";

const { columns, data } = getData();

export default function App() {
return (
<Grid
data={data}
columns={columns}
multiselect={true}
/>
);
}