GridPinnableSettingsTagHelper
Example
Razor
<pinnable/>
Attributes
| Attribute | Type | Description |
|---|---|---|
| bottom | Object[] | An array of data item ID values that will be pinned to the bottom of the Grid on initialization. |
| enabled | Boolean | Enables or disables the configuration. |
| is-row-pinnable | String | A function that determines whether a specific row can be pinned. The function receives an object with a dataItem field containing the data item for the row, and must return a boolean value. When the function returns false for a row, the pin column renders an empty cell without a pin icon, the pin column context menu does not open for that row, and the pinRows method does not pin the row. Unpinning is always allowed regardless of this function's return value. |
| pin-row-location | GridPinRowLocation | Controls where rows can be pinned. |
| top | Object[] | An array of data item ID values that will be pinned to the top of the Grid on initialization. |