Intersoft WebGrid Documentation
How-to: Get Selected row
See Also Send comments on this topic.

Glossary Item Box

Use GetSelectedRow function to get selected row in WebGrid via client side.

This topic will show you how to get WebGrid's selected row object using GetSelectedRow function.

To get WebGrid selected row

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

  5. JavaScript Copy Code
    var grid = ISGetObject("WebGrid1");                
    var selectedObject = grid.GetSelectedObject().GetRowObject();                     
    

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.