TP-48182|tele sensei v3.1 comments resolved| Aman Singh (#839)
Co-authored-by: Mantri Ramkishor <mantri.ramkishor@navi.com>
This commit is contained in:
@@ -203,10 +203,6 @@ const Index: React.FC<IFilters> = props => {
|
||||
generateData();
|
||||
}, [tableData]);
|
||||
|
||||
useEffect(() => {
|
||||
ref?.current?.api?.sizeColumnsToFit();
|
||||
}, [tableData, loading]);
|
||||
|
||||
return (
|
||||
<div className={cx(styles.EmiBucketWiseSummary, 'agentDepositionSummary')}>
|
||||
<div className={styles.tableContainer}>
|
||||
@@ -249,7 +245,10 @@ const Index: React.FC<IFilters> = props => {
|
||||
suppressRowClickSelection={true}
|
||||
suppressRowDrag={false}
|
||||
alternateRowColor="var(--greyscale-content-4)"
|
||||
getRowHeight={params => params.data?.rowHeight}
|
||||
getRowHeight={params => {
|
||||
ref?.current?.api?.sizeColumnsToFit();
|
||||
return params.data?.rowHeight;
|
||||
}}
|
||||
/>
|
||||
{!data.length ? <NoDataFound className={styles.noDataFound} /> : null}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user