Initial Row Selection

Jun 15, 2013 at 10:25 AM
Hi,

Is there any way to automatically select the first row on the grid ? Similar to your demo where you display order details when user selects an order grid, I have a venue list and want venue details when the user selects a venue. However, it would be better if the first venue on list was selected by default - this removes the need for a user interaction of a click.

Thanks!!!
Coordinator
Jun 16, 2013 at 3:02 PM
Hi,

Gridmvc now has not client api to select grid rows. But you can trigger click event on the first row:
<script>
$(".grid-row:eq(0)").click();
</script>