- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2017 08:17 PM
Hi: A list collector in a record producer displays like this:
This takes up a lot of unnecessary space. Is it possible to make it display like a watch list in the tool as such:
Thank you, Rita
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2017 10:06 PM
Hi Rita,
The width of the variable can be set via using DOM. For this you need to write an onLoad Catalog Client Script on the catalog Item as of below:
function onLoad() {
//Get the Variable' Element ID by using Inspect Element on the Catalog Item or by pressing F12
var el = document.getElementById('variable_IO:b437883b6fe63200f9ac52b10b3ee45e');
el.style.width= '350px';
}
You can find the Variable ID by using inspecting element. Please find below how I have got the variable's Element ID.
Once You are done with the Scripting, it would look like below:
And my bad for my last response on the 'i' icon. For variable of glide_list type, there is no 'i' icon available.
I hope this helps.Please mark correct/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2017 02:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2017 04:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2017 05:14 AM
Hi Rita,
Yes, you can set the width of the variable if it is not used in any variable set and also not in container. Please find my response in this thread: Single Line Text Variable Char Limit . If you are using Helsinki or prior versions then you need to set the width of the variable by using Script (read catalog Client Script).
For your Second question, the 'i' button works when you select any record which is already selected in the List.
I hope this helps.Please mark correct/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2017 06:45 PM
Hi: I added the following script in the catalog client script onChange of the 'u_project_sponsors' field:
g_form.getControl('u_project_sponsors').style.width = '150px';
But the width of the list remained the same. Any advice how to fix it?
As for the 'i' icon, I don't see it. Here's a snap shot:
Thank you again, Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2017 10:06 PM
Hi Rita,
The width of the variable can be set via using DOM. For this you need to write an onLoad Catalog Client Script on the catalog Item as of below:
function onLoad() {
//Get the Variable' Element ID by using Inspect Element on the Catalog Item or by pressing F12
var el = document.getElementById('variable_IO:b437883b6fe63200f9ac52b10b3ee45e');
el.style.width= '350px';
}
You can find the Variable ID by using inspecting element. Please find below how I have got the variable's Element ID.
Once You are done with the Scripting, it would look like below:
And my bad for my last response on the 'i' icon. For variable of glide_list type, there is no 'i' icon available.
I hope this helps.Please mark correct/helpful based on impact