Intersoft WebGrid Documentation
How-to: Select a row from client side
See Also Send comments on this topic.

Glossary Item Box

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

  1. Drag WebGrid instance into the WebForm.
  2. Add a client side function on your code.
  3. You can select grid's row by simply using:

  4. JavaScript Copy ImageCopy 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
    }

 

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.