Intersoft WebGrid Documentation
PreviewRowSettings
Send comments on this topic.
Intersoft WebGrid > Client-side References > PreviewRowSettings

Glossary Item Box

 PreviewRowSettings Properties

Style Description
Returns the style of the PreviewRow.

ValueType
string

Default Value
null
Indentation Description
Returns the indentation width.

ValueType
integer

Default Value
18
Height Description
Gets the height of the PreviewRow.

ValueType
string

Default Value
null
DataMember Description
Gets the name of the column from which the data is obtained.

ValueType
string

Default Value
""
Expandable Description
Indicates whether the PreviewRow is expandable. If this property is set to false, the PreviewRows would always show up.

ValueType
boolean

Default Value
true
DefaultExpanded Description
Indicates whether the PreviewRows should be initially expanded.

ValueType
boolean

Default Value
true
PreviewRowExpanded Description
Indicates whether the status of PreviewRow is expanded.

ValueType
boolean

Default Value
true

 PreviewRow Methods

ExpandPreviewRow Description
Expands the row in PreviewRow of WebGrid.

Parameters
-

Remarks
-

Return Value

void

Samples

function doExpand()
{
    var grid = ISGetObject("WebGrid1");
    var row = grid.GetSelectedObject().GetRowObject();
    row.ExpandPreviewRow();
}
 

CollapsePreviewRow Description
Collapses the row in PreviewRow of WebGrid.

Parameters
-

 

Remarks
-

Return Value

void

Samples

function doExpand()
{
     var grid = ISGetObject("WebGrid1");
     var row = grid.GetSelectedObject().GetRowObject();
     row.CollapsePreviewRow();    
}

©2012 Intersoft Solutions Corp. All Rights Reserved.