title: Can I initialize the checkbox selection in MUI DataGrid?
body: <p>In a MUI <a href="https://mui.com/components/data-grid/selection" rel="nofollow noreferrer"><code>DataGrid</code></a> it is super easy to add a checkbox selection via the <code>checkboxSelection</code> attribute and listen to selection changes via <code>onSelectionChange</code>:</p>
  <pre><code>&lt;DataGrid
    columns={columns}
    rows={rows}
    pageSize={10}
    checkboxSelection
    onSelectionChange={e =&gt; console.log(e.rows)}
  /&gt;
  </code></pre>
  <p>But is there also a way to initialize the checkbox selection with a set of checked items?</p>