ngx-datatable not showing data after closing and reopening ngx-bootstrap modal popup
See original GitHub issueI’m submitting a … (check one with “x”)
[X ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior
use the ngx datatable in a component that you wish to open in bs modalpopup of ngx-bootstrap , then close the poup and reopen, the table occupies space but does not show any data Expected behavior
the table should still show data after reopening the modal popup Reproduction of the problem
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Windows 7
- Table version: 0.8.x
9.3.0
- Angular version: 2.0.x
2.0
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Chrome
- Language: [all | TypeScript X.X | ES6/7 | ES5] ES5
Issue Analytics
- State:
- Created 6 years ago
- Comments:9
Top Results From Across the Web
ngx-datatable not showing data after closing and reopening ngx ...
I'm submitting a ... (check one with "x") [X ] bug report => search github for a similar issue or PR before submitting...
Read more >Angular: not-to-update values in ngx-datatable-column if ...
I made a deep copy of the JSON Object which contains the values both of the ngx-datatable and the modal.
Read more >How to Make a Modal Popup Refresh Items on the Page
This is a mandatory function required to close the modal invoked by the onHide event. Call the reload() method after setting the modal's...
Read more >How to pass data between NGX Bootstrap modal and parent
Initiate the project. First set up a new angular project and install ngx-bootstrap modal. Create a simple component ItemList to display a list...
Read more >Reset form inside bootstrap modal popup when it closed
Here is the working demo code for therichpost Reset form inside bootstrap modal popup when it closed: · $('#myModal').on('hidden.bs.modal', ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, had same issue and I resolved just changed the css of ngx-datatable: datatable-header, datatable-body, datatable-footer{ width: auto !important; }
The workarounds mentioned didn’t work for me, I forced rerender with *ngIf. I have dataArrived set to false and I’m setting it to true after data is bound to ng-datatable data.