diff --git a/src/Grid/FeatureGrid/FeatureGrid.tsx b/src/Grid/FeatureGrid/FeatureGrid.tsx index 9aac95c0dd..ee025a3161 100644 --- a/src/Grid/FeatureGrid/FeatureGrid.tsx +++ b/src/Grid/FeatureGrid/FeatureGrid.tsx @@ -96,7 +96,8 @@ interface OwnProps { /** * Callback function, that will be called if the selection changes. */ - onRowSelectionChange?: (selectedRowKeys: Array, selectedFeatures: OlFeature[]) => void; + onRowSelectionChange?: (selectedRowKeys: Array, + selectedFeatures: OlFeature[]) => void; } interface FeatureGridState { @@ -565,7 +566,7 @@ export class FeatureGrid extends React.Component => { + getFeatureFromRowKey = (key: number | string | bigint): OlFeature => { const { features, keyFunction