selected
Description
Optional. Marks a row as selectedUsage
selected?: string | number;
Parameters
An ID of the selected row.
Example
<script>
import { getData } from "./common/data";
import { Grid } from "wx-svelte-grid";
const { data, columns } = getData();
</script>
<Grid
{data}
{columns}
selected={11} />
Related articles: select-row