Use Select function to select a WebGrid row in client side.
This topic will show you how to select WebGrid's row.
To select WebGrid's row from client side
- Drag WebGrid instance into the WebForm.
- Add a client side function on your code.
- You can select grid's row by simply using:
-
JavaScript Copy Code function SelectRow()
{
var grid = ISGetObject("WebGrid1");
var row = grid.RootTable.GetRowByKeyValue("VINET"); // get WebGridRow object by key value.
row.Select(); // select this row for focus
}
Other Resources
Walkthrough Topics
How-to Topics