Hi Shaan,
The example you provided is actually data grid 2, which you can use in Mendix 9 (https://marketplace.mendix.com/link/component/116540). As far as I know, the old version of the data grid does not support reordering of the columns. So if you want to have this functionality, I would suggest to look into the new version of the data grid.
Hope this helps.
Jody