ASPxClientGridView.SetFixedColumnScrollableRows(scrollableRowSettings) Method
Sets the scrollability of various types of grid rows when the grid displays fixed columns.
Declaration
SetFixedColumnScrollableRows(
scrollableRowSettings: any
): void
Parameters
Name | Type | Description |
---|---|---|
scrollableRowSettings | any | An object specifying which types of grid rows should or should not be scrollable. |
Remarks
Use the SetFixedColumnScrollableRows method to specify which types of grid rows should be scrollable when the grid displays fixed columns.
The scrollableRowSettings parameter should be an object containing the following boolean properties.
- scrollGroupRow - specifies whether or not group rows should be scrollable when fixed columns are displayed.
- scrollPreview - specifies whether or not preview rows should be scrollable when fixed columns are displayed.
- scrollDetail - specifies whether or not detail rows should be scrollable when fixed columns are displayed.
- scrollData - specifies whether or not data rows customized using row templates should be scrollable when fixed columns are displayed.
The code sample below illustrates the usage of the SetFixedColumnScrollableRows method.
function Init(s) {
var settings = {
scrollGroupRow: true,
scrollPreview: false,
scrollDetail: true,
scrollData: false,
};
s.SetFixedColumnScrollableRows(settings);
}
See Also