Skip to content

Commit

Permalink
fix: register client side row module by default
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasLohoff committed Oct 21, 2024
1 parent 10e5272 commit 5162080
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Grid/AgFeatureGrid/AgFeatureGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
ColGroupDef,
GridApi,
GridReadyEvent,
ModuleRegistry,
RowClassParams,
RowClickedEvent,
RowNode,
Expand Down Expand Up @@ -109,6 +110,10 @@ const defaultClassName = `${CSS_PREFIX}ag-feature-grid`;

export type AgFeatureGridProps<T> = OwnProps<T> & RgCommonGridProps<T> & Omit<AgGridReactProps, 'theme'>;

ModuleRegistry.registerModules([
ClientSideRowModelModule
]);

/**
* The AgFeatureGrid.
*/
Expand Down Expand Up @@ -623,9 +628,6 @@ export function AgFeatureGrid<T>({
rowData={passedRowData}
rowSelection="multiple"
suppressRowClickSelection
modules={[
ClientSideRowModelModule
]}
{...agGridPassThroughProps}
/>
</div>
Expand Down

0 comments on commit 5162080

Please sign in to comment.