Shlok Zanwar
Results
2
comments of
Shlok Zanwar
expose currentDataSource of Table, update when dataSource/filters/sorters are changed by application
Any updates on this one? This is a much-needed feature when we consider exporting the table data. @afc163
expose currentDataSource of Table, update when dataSource/filters/sorters are changed by application
In this file https://github.com/ant-design/ant-design/blob/master/components/table/Table.tsx Just adding ``` const triggerOnChange = ( info: Partial, action: TableAction, reset: boolean = false, ) => { ............................. **React.useEffect(function () { triggerOnChange({}, 'dataSource', false); },...