getGridType (Client API reference)
Gets the grid type (grid or subgrid).
Grid types supported
Read-only and editable grids
Syntax
let gridType = gridContext.getGridType();
Return Value
Type: Number
Description: Returns one of the following values:
Value | Description |
---|---|
1 | HomePageGrid |
2 | Subgrid |
Remarks
To get the gridContext
, see Getting the grid context.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for