Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4695
Export to Excel format and Ultragrid
posted

Dear all,

(1) When I export ultragrid to excel using documentexporter, how to make the datetime field to be only date format in excel??

(2) What is this in below picture? How to make it disappear??

  • 469350
    Offline posted

    Hi,

    rchiu5hk said:
    (1) When I export ultragrid to excel using documentexporter, how to make the datetime field to be only date format in excel??

    Handle the CellExported event and then overwrite the value of the cell in the Excel worksheet with the date with no time information.

    rchiu5hk said:
    (2) What is this in below picture? How to make it disappear??

    Those are the RowSelectors. You can turn them off using the grid.DisplayLayout.Override.RowSelectors property.