Closed cyrusfurtado closed 5 years ago
Have made a temporary fix for this. Since i need to modify files installed directly by npm might probably need to have the entire carbon-components
repo locally available in my src
folder for now.
Hi 👋 thank you for the update - You don't need to modify Carbon code directly for your temporary fix. You can do something like below instead:
import { DataTableV2 } from `carbon-components`;
class MyDataTableV2 extends DataTableV2 {
refreshRows() {
(Your code for refreshRows())
}
}
...
MyDataTableV2.create(myTableElement);
Hope this helps!
Thanks for the update.
On Wed, Oct 17, 2018 at 5:07 PM Akira Sudoh notifications@github.com wrote:
Hi 👋 thank you for the update - You don't need to modify Carbon code directly for your temporary fix. You can do something like below instead:
import { DataTableV2 } from
carbon-components
; class MyDataTableV2 extends DataTableV2 { refreshRows() { (Your code for refreshRows()) } } ... MyDataTableV2.create(myTableElement);Hope this helps!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IBM/carbon-components/issues/1273#issuecomment-430594217, or mute the thread https://github.com/notifications/unsubscribe-auth/Ak1EhQYmSqFMxnCSQDmWHymVuIgPci_rks5ulxaQgaJpZM4XjZBd .
Detailed description
On sorting a Datatable with expandible rows. The markup for the inner expandible child rows do not get updated upon calling
refreshRows()
on the table instance.Steps to reproduce the issue
expandible
rowsAdditional information
Added link here. This is an angular 5 app btw.
Add labels
Please choose the appropriate label(s) from our existing label list to ensure that your issue is properly categorized. This will help us to better understand and address your issue.