SMART datagrid v1.4 > Reporting > Functions

Back  Forward

DLReport.preview  Function

리포트를 출력하기 위한 Html 미리보기 창을 표시한다. 

function preview (grid: GridBase, model: Object|GridReport, data: Object, options: Object|PrintOptions, print: Boolean);
Returns
Void
Parameters
grid - GridBase. required.
model - Object|GridReport. required.
data - Object. 기본값은 false.
options - Object|PrintOptions.
print - Boolean. 기본값은 false.
Note
Code -1
    var report = {          // GridReport
        reportHeader: {},   // ReportHeader
        reportFooter: {},   // ReportFooter
        pageHeader: {},     // PageHeader
        pageFooter: {},     // PageFooter
        pageTitle: {},      // PageTitle
        page: {},           // PrintPage 
        grid: {},           // PrintGrid
    };
    var reportData = {      
    };
    var options = {         // PrintOptions
    };
    DLReport.preview(grdMain, report, reportData, options, true);
See Also
GridReport
ReportHeader
ReportFooter
PageHeader
PageFooter
PageTitle
PrintPage
PrintGrid
PrintOptions
Examples
리포트 시작하기