LimeReport Forum

General Category | Основное => Discussion | Обсуждение => Topic started by: vgon on April 19, 2023, 03:07:16 PM

Title: Delete or hide (no print) one or more pages
Post by: vgon on April 19, 2023, 03:07:16 PM
Hi there,

Could you please tell me if it is possible to delete (or hide) one or more pages programmatically?
Thank you so much in advance !!!
Title: Re: Delete or hide (no print) one or more pages
Post by: Arin Alex on April 19, 2023, 09:37:31 PM
Hi.
Do you mean result pages or pattern pages ?
Title: Re: Delete or hide (no print) one or more pages
Post by: vgon on April 20, 2023, 09:33:04 AM
Hi Alex,

Let me explain the case. I have 25 pages that get data from various datasources. For many cases some datasources (structures in memory actually) are not available, so the corresponding page does not fill with data. I would like to hide these result pages...e.g. is it possible to use
the dataManager of a report to hide/delete pages at rendering time (to avoid printing/preview blank pages) ?
Thank you so much !!!
Title: Re: Delete or hide (no print) one or more pages
Post by: vgon on April 21, 2023, 05:21:11 PM
To make it simple...i just want to remove result pages which will be blank (because i know that i have no data to feed them). I already know (before i use the Lime report) which pages are not to be displayed. More specifically, it would be very useful, to be able to delete/hide pages from the back (last ones). If i keep 25 pages in a report to be able to somehow delete or hide LAST 6 pages for example.
Thank you in advance !!!