I need to display report in Visualforce.The report returns more than 1000 results causing an error because visualforce only can display 1000 elements.So I need to limit the result row but I read the document here saying :
standard filters (such as range), filtering by row limit, and cross filters are unavailable.
Currently I am using simple Apex code to retrieve report as below.Is there workaround to return limited row for this situation.
Reports.ReportResults results = Reports.ReportManager.runReport(reportId, true);