Add minimize and maximize icon to dialog window next to close icon button?

Hello.

Is there a way we can add a minimize and maximize functionality to a dialog window as shown below?

image

Thanks
Stormanh

Hello @stormanh,

Yes, if you open dialog from a List or Library control, you can add a minimize and maximize icons using this code:

fd.control('SPDataTable1').dialogOptions = {
    actions: [ "Minimize", "Maximize" ]
}

Thanks so much @mnikitina! :smile:

1 Like