Yes, it is definitely not the easiest (if you dont use static list). I have mimic'ed it using jQuery triggered on fieldchanged, storing the total lines on the sublist in a field on the form, and setting the display property on each line based upon the number selected in the dropdown.