Currently, I am in the process of considering DGrid for my web application. My goal is to create a table layout similar to the one demonstrated here. For reference, the code for the example can be found here.
The table in question utilizes a memory store to populate its data - the information displayed in the summary field is what is shown when each row is expanded upon clicking.
My intention is to have the details (i.e., the content displayed when a row is clicked) dynamically fetched from the server upon row interaction, instead of being statically loaded with the rest of the page. How should I go about modifying the existing code to achieve this functionality?
(I am looking to create an HTML table where each row can be expanded upon clicking, with the content for each expansion retrieved from the server using AJAX. I am considering dgrid as a viable option due to its ability to provide sortable columns. However, if there is a more suitable alternative, please feel free to recommend it).
EDIT: My main objective is to gather insights on possible approaches, rather than expecting someone to provide the specific code. Since I am not very familiar with Dojo, I am unsure of the most appropriate method to follow.