DataGrid with Subgrid in Mendix

Hello All, I am new to Mendix,  could you please anyone tell me is it possible to have a grid with subgrid like grid showing all the countries when expanding particular country then it will show respectively States list under the grid .. with collapse and expand option   THanks,  
1 answers

Yes you could do this in a number of ways like using a 'listen to dataview' see:

The idea is that you have for example a datagrid, when you click on a line/object this entity is shown in the 'listen to dataview' There you can show whatever you want from this entity.