Announcement

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

    Reg: ListGrid Exporting to Excel 2007

    Hi,

    When I am using ListGrid.exportData(). I am able to export the whole data based on the current criteria. How can i achieve the below points:

    1) How to export the formatted values like what is happening in the exportClientData() .Because I want to export the whole data not just the Client data.

    2) If I don't want some columns to be exported which are available in the grid with width:"0".

    We are working on the below environment:
    SmartClient version : Isomorphic SmartClient/SmartGWT Framework (9.1p_2014-10-26/PowerEdition Deployment 2014-10-26)

    Browser : IE9

    Thanks in advance.

    #2
    1) you can add server-side logic in a DMI that changes the contents of DSResponse.data to format the values in the way that you want. Note that if you want streaming support, you'll want to implement dsResponse.nextRecordAsObject() - see the docs for that method

    2) you can control the columns that are exported with dsRequest.exportFields

    Comment

    Working...
    X