CSDN博客

img aliang128

Expand and Collapse Rows on Client-Side

发表于2004/10/8 16:19:00  1516人阅读

Infragistics.WebUI.UltraWebGrid Feedback on this topic...

Expand and Collapse Rows on Client-Side

In order to expand or collapse rows on the client you need to call the toggleRow JavaScript Function.

Sample Code and Explanation

igtbl_toggleRow(gn,srcRow,expand)

Parameter descriptions:

    gn = The name of your grid. srcRow = The ID of the row you want to expand or collapse. expand = true expands the row, false collapses it.

Examples (JavaScript)

To expand Row 0 of your UltraWebGrid:

igtbl_toggleRow('UltraWebGrid1','UltraWebGrid1r_0',true);

To collapse Row 0 of your UltraWebGrid:

igtbl_toggleRow('UltraWebGrid1','UltraWebGrid1r_0',false);


ms-help://INFRAGISTICS_HELP/INFRAGISTICS_WEB/Infragistics.WebUI.UltraWebGrid.v3/Infragistics.WebUI.UltraWebGrid.v3/Expand_and_Collapse_Rows_on_Client-Side.htm
阅读全文
0 0

相关文章推荐

img
取 消
img