Skip to content

Commit

Permalink
fix(MD-4227): update naming (#256)
Browse files Browse the repository at this point in the history
* fix(MD-4227): update naming

* Update src/components/SimpleGrid.tsx

Co-authored-by: Luc Gruska <luc.gruska@qlik.com>

* Update src/components/SimpleGrid.tsx

Co-authored-by: Luc Gruska <luc.gruska@qlik.com>

---------

Co-authored-by: Vittorio Cellucci <vel@qlik.com>
Co-authored-by: Luc Gruska <luc.gruska@qlik.com>
  • Loading branch information
3 people committed Mar 30, 2023
1 parent 5500288 commit bb178b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/SimpleGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export type SimpleGridProps = {
scrolling: ScrollingProps;
isDataView: boolean;
totals: any;
qInfo: {
name?: string;
};
qHyperCube: {
qGrandTotalRow: number;
qSize: number;
Expand Down Expand Up @@ -225,7 +228,7 @@ const SimpleGrid: React.FC<SimpleGridProps> = ({
freezeFirstColumn={layout?.scrolling?.keepFirstColumnInView}
cellContentStyle={contentStyle.cellStyle}
headerContentStyle={contentStyle.headerStyle}
name={name}
name={layout?.qInfo?.name || name}
isDataView={layout?.isDataView}
translations={translations}
onExpandCell={onExpandCell}
Expand Down

0 comments on commit bb178b8

Please sign in to comment.