infor-design / enterprise-ng

Angular wrappers for IDS Enterprise components
Apache License 2.0
57 stars 84 forks source link

SohoDataGridSourceRequest is not returning with request type initial #1467

Open pallisj opened 1 year ago

pallisj commented 1 year ago

When loading a datagrid upon entering a page the SohoDataGridSourceRequest req variable does not have a type when it should be 'initial' on other pages with this issue I have put the data loading function in the ngOnInit function and that allowed for initial to be correctly set. However; I have 2 pages where even when I put the data loading function in the ngOnInit function I am still not getting the req.type as initial instead it is null. I can refresh the page to get the req.type to be 'refresh' which gets the datagrid to retrieve the necessary data. Initial typing is the only typing not working.

Expected behavior When opening a page with a datagrid the data will properly load into the datagrid and the SohoDataGridSourceRequest req.type will be inital

Version

99416f2c-7c93-43f3-83d4-c84bfbc9d6f5 9962e14e-7e83-43fa-b961-bb8db607f456

tmcconechy commented 1 year ago

Not really sure how to fix this one anymore. Can you assume its initial if its empty? Or can you propose a fix? Or provide a way to reproduce?

This is in addition to the previous fix right?

pallisj commented 1 year ago

The previous fix was to put that loadDataFromServiceEndPoint method into the ngOnInit function and that worked for all our datagrids but 2. I will see if I can make an exception for these 2 datagrids and accept an empty typing and get back to you

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.