how to increase the size of the dialog window .
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 03:13 AM
Hello,
I want to increase the dialog window size . I am using g_modal since the dialog window is supposed to opened in workspace.
Below is the script I am using:
g_modal.showFrame({
url: '/sn_hr_ws_case_creation.do?sysparm_user=' + USER,
title: 'Create Case',
size: 'lg',
width: 1000,
height: 1200,
autoCloseOn: 'URL_CHANGED',
callback: function(ret, data) {
if (ret) {
g_aw.openRecord(data.table, data.record_id);
}
}
Increasing the width and height only alters the spaces inside the dialog window and not the dialog window.
Any leads on this is highly appreciated.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 03:30 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 04:08 AM
Hi,
I don't see any documentation around this.
Please check below answered question which says the same thing.
The size attribute define the size of window and 'lg or xl' value defines the window size.