showMaximized in view and edit showModalDialog

Forums vLooup for SharePoint showMaximized in view and edit showModalDialog

This topic contains 2 replies, has 2 voices, and was last updated by  lzuhuo 10 months, 1 week ago.

  • Author
  • #22212


    Hi Alex.

    I checked that only for NewForm is able to show maximized. Is it possible include on buttons of view and edit too? Thanks

  • #22243

    Alexander Bautz

    I’ll add the showMaximized icon in the header in the next version, but if you like to override it now you can add this snippet to your Custom JS:

    spjs.vLookup.openInDialog = function (URL, fin, rAll) {
    	var options = {
    	SP.UI.ModalDialog.commonModalDialogOpen(URL,options, function(result){
    		if ( {
    			if (result === 1) {
    				location.href = location.href;
    		} else {
    			spjs.vLookup._init(fin, rAll);
    			if (typeof vlookupChildViewOrEditCallback !== "undefined") {
    				vlookupChildViewOrEditCallback(fin, result);

    I have added in the “showMaximized”:true parameter also, but this will not be set to true in the next version – only the icon for manually expanding to full screen will be show.


  • #22520


    Thanks a lot Alex
    Worked perfect

You must be logged in to reply to this topic.