Hi,
for example if your row numbers are 20,50,100 then add three data grids.
Update the visibility for each data grid based on row number selections and also set the same in the data grid : Number of rows
For example if the row number selection is 20 then :
Hope this is helpful!