I want JavaScript code to display custom records in sub grid view.
*This post is locked for comments
I want JavaScript code to display custom records in sub grid view.
*This post is locked for comments
Hi,
You can use custom js framework to have custom edit like this: https://docs.sencha.com/extjs/6.0.2/classic/Ext.grid.Panel.html have used it some implementations worked well !
Hi
Changing out of the box subgrid html using Javascript to display or change the behaviour of the subgrid is not supported and I would not recommend doing that as in the long run future updates may break the page or form.
However, if you definitely want a custom subgrid you can use create a custom HTML web resource and query the data (using web api or other options) and display the records as you like. This is a supported approach as you are not changing any of the system behaviours that could change in the future.
You can use the web api to query the data and then use your own html markup and styles to render the records
docs.microsoft.com/.../web-api-query-data-sample-client-side-javascript
docs.microsoft.com/.../xrm-webapi
Hope this helps
Hi Shadendra,
Would you mind to close the thread by marking the answer.
okay thanxxx
No it wont be possible
okay thanxx.. But using Xrm.web APi can we de?
Hi Again,
There is no way to update view without updating fetch
Hi Shadendra,
What do you mean by custom records, if you wants to update filters (so that it changes records) or layoutxml (that changes columns in view) then follow similar thread -community.dynamics.com/.../203026
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156