Intersoft WebGrid Documentation
How-to: Get root row of ColumnSet layout
See Also Send comments on this topic.

Glossary Item Box

Use wgGetRootRow function to get root row of ColumnSet or PreviewRow layout in client side.

This topic will show you how to get root row.

To get root row in WebGrid's ColumnSet

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

  4. JavaScript Copy ImageCopy Code
    function SelectRow()
    {

    var grid = ISGetObject("WebGrid1");
    var rowElm = grid.GetSelectedObject().GetRowObject().GetElement();
    var rootRow = wgGetRootRow(rowElm);
    }

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.