Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    select rows of ListGrid for exportContent

    SmartClient Version: v9.1p_2014-03-10/EVAL Deployment

    I'd like to use RPCManager.exportContent to export my ListGrid to a PDF.
    Is it possible to select/omit specific rows?

    I tried selecting rows using ListGrid.setSelectionType() (that works)
    and calling DSRequest.setExportData(grid.getSelectedRecords())

    But a call to RPCManager.exportContent(grid, properties);
    still exports all rows

    thanks in advance

    #2
    You would need to manipulate the grid so that only the selected rows are showing, for example, setting new criteria that eliminated all non-selected records, or just calling setData() with a RecordList containing only selected rows.

    Comment

    Working...
    X