W.T
1
I have a link in the Title column of the list. It opens opens up a dialog window upon clicking the link.
Is there a way to make it open in a Window or make it to fill up the full window?
I've tried to use the following code below but it doesn't respond to links.
fd.control('SPDataTable1').dialogOptions = {
width: window.screen.width,
height: window.screen.height
};
Do assist!
Hello @W.T,
This code works for all links within List or Library control. I've tested it on my form, and the dialog opens on a full screen.
Is that a complete code? Please try using the code under the ready event, like this:
fd.spRendered(function() {
fd.control('SPDataTable1').ready().then(function(dt) {
dt.dialogOptions = {
width: window.screen.width,
height: window.screen.height
};
});
});