[?] Increase the number of rows displayed by Dataset?

Is it possible to increase the number of rows (records) displayed by Dataset? By default, only the first few rows are displayed. Which, in many cases, is fine. Especially for large datasets. However, there are often occasions when the dataset I’m working with is of moderate size and I want to display all of it. At present, I’m resorting to using Grid, but this adds work so I’d like to avoid if possible. Any suggestions would be much appreciated.

You can increase the default value by setting the new value for the command [for e.g. this will show 40 rows of the dataset]:

Dataset`$DatasetTargetRowCount = 40

Thanks very much, that does the job.

Great answer - many thanks for sharing! But where on Earth did you find this?

That particular features is described on “Dataset” help page, in the sub-section “Examples → Possible issues”.

Many thanks !!!

Dataset[myDataset, MaxItems → All]