Hi Brad,
Greetings from Syncfusion support.
We have used the Microsoft.Jsinterop to achieve this requirement. In the Created event handler of Grid, we have called the JavaScript function, in which we have fetched the Select All header checkbox element and used the click() method to programmatically click the select all checkbox header and select all rows in Grid at initial rendering.
We have prepared a sample based on this scenario, please download the sample from the link below,
Please refer and use as like the below codes,
|
<GridEvents Created="Created" TValue="Order"></GridEvents>
public async Task Created(){ await IJsRuntime.InvokeAsync<object>("SelectAll");}
[SelectAll.js]
function SelectAll() { document.getElementsByClassName("e-checkselectall")[0].click();}
|
Please get back to us if you need further assistance.
Regards,
Renjith Singh Rajendran.