@linzjs/step-ag-grid 29.0.1 → 29.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/components/Grid.tsx
CHANGED
|
@@ -16,6 +16,8 @@ import {
|
|
|
16
16
|
GridReadyEvent,
|
|
17
17
|
ModelUpdatedEvent,
|
|
18
18
|
ModuleRegistry,
|
|
19
|
+
RowClickedEvent,
|
|
20
|
+
RowDoubleClickedEvent,
|
|
19
21
|
RowDragEndEvent,
|
|
20
22
|
RowDragMoveEvent,
|
|
21
23
|
SelectionChangedEvent,
|
|
@@ -120,6 +122,8 @@ export interface GridProps<TData extends GridBaseRow = GridBaseRow> {
|
|
|
120
122
|
suppressCellFocus?: boolean;
|
|
121
123
|
pinnedTopRowData?: GridOptions['pinnedTopRowData'];
|
|
122
124
|
pinnedBottomRowData?: GridOptions['pinnedBottomRowData'];
|
|
125
|
+
onRowClicked?: (event: RowClickedEvent) => void;
|
|
126
|
+
onRowDoubleClicked?: (event: RowDoubleClickedEvent) => void;
|
|
123
127
|
}
|
|
124
128
|
|
|
125
129
|
/**
|
|
@@ -806,6 +810,8 @@ export const Grid = <TData extends GridBaseRow = GridBaseRow>({
|
|
|
806
810
|
suppressCellFocus={params.suppressCellFocus}
|
|
807
811
|
pinnedTopRowData={params.pinnedTopRowData}
|
|
808
812
|
pinnedBottomRowData={params.pinnedBottomRowData}
|
|
813
|
+
onRowClicked={params.onRowClicked}
|
|
814
|
+
onRowDoubleClicked={params.onRowDoubleClicked}
|
|
809
815
|
/>
|
|
810
816
|
</div>
|
|
811
817
|
</div>
|